refactor: move everything under clusters/bee/
This commit is contained in:
parent
cdf747fc8d
commit
b38e8e62c9
44 changed files with 0 additions and 0 deletions
6
clusters/bee/_argocd/Chart.lock
Normal file
6
clusters/bee/_argocd/Chart.lock
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
dependencies:
|
||||
- name: argo-cd
|
||||
repository: https://argoproj.github.io/argo-helm
|
||||
version: 5.13.8
|
||||
digest: sha256:5f2fae75fd5d521cb16ed47d97def8b5da6ef5d13f22e21fb94ae6a5a6648312
|
||||
generated: "2022-11-17T14:17:48.512932+01:00"
|
||||
11
clusters/bee/_argocd/Chart.yaml
Normal file
11
clusters/bee/_argocd/Chart.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
apiVersion: v2
|
||||
name: argocd
|
||||
description: A Helm chart for Kubernetes
|
||||
type: application
|
||||
version: 0.1.0
|
||||
appVersion: "1.0"
|
||||
|
||||
dependencies:
|
||||
- name: argo-cd
|
||||
version: 5.13.8
|
||||
repository: https://argoproj.github.io/argo-helm
|
||||
18
clusters/bee/_argocd/app-of-apps.yaml
Normal file
18
clusters/bee/_argocd/app-of-apps.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: app-of-apps
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: argocd
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
source:
|
||||
path: apps
|
||||
repoURL: https://gitlab.mareshq.com/gitops/mareshq/fox.git
|
||||
targetRevision: HEAD
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
20
clusters/bee/_argocd/apps/cert-manager.yaml
Normal file
20
clusters/bee/_argocd/apps/cert-manager.yaml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: cert-manager
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: cert-manager
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
source:
|
||||
path: cluster-components/cert-manager
|
||||
repoURL: https://gitlab.mareshq.com/gitops/mareshq/bee.git
|
||||
targetRevision: HEAD
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: hcloud-cloud-controller-manager
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: kube-system
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
source:
|
||||
path: cluster-components/hcloud-cloud-controller-manager
|
||||
repoURL: https://gitlab.mareshq.com/gitops/mareshq/bee.git
|
||||
targetRevision: HEAD
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
18
clusters/bee/_argocd/apps/hcloud-csi-driver.yaml
Normal file
18
clusters/bee/_argocd/apps/hcloud-csi-driver.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: hcloud-csi-driver
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: kube-system
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
source:
|
||||
path: deploy/kubernetes
|
||||
repoURL: https://github.com/hetznercloud/csi-driver.git
|
||||
targetRevision: v2.0.0
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
18
clusters/bee/_argocd/apps/hcloud-token.yaml
Normal file
18
clusters/bee/_argocd/apps/hcloud-token.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: hcloud-token
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: kube-system
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
source:
|
||||
path: cluster-components/hcloud-token
|
||||
repoURL: https://gitlab.mareshq.com/gitops/mareshq/bee.git
|
||||
targetRevision: HEAD
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
20
clusters/bee/_argocd/apps/ingress-nginx.yaml
Normal file
20
clusters/bee/_argocd/apps/ingress-nginx.yaml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: ingress-nginx
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: ingress-nginx
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
source:
|
||||
path: cluster-components/ingress-nginx
|
||||
repoURL: https://gitlab.mareshq.com/gitops/mareshq/bee.git
|
||||
targetRevision: HEAD
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
22
clusters/bee/_argocd/apps/logging.yaml
Normal file
22
clusters/bee/_argocd/apps/logging.yaml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: logging
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: logging
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
source:
|
||||
path: cluster-components/logging
|
||||
repoURL: https://gitlab.mareshq.com/gitops/mareshq/bee.git
|
||||
targetRevision: HEAD
|
||||
helm:
|
||||
skipCrds: true
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
20
clusters/bee/_argocd/apps/longhorn.yaml
Normal file
20
clusters/bee/_argocd/apps/longhorn.yaml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: longhorn
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: longhorn-system
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
source:
|
||||
path: cluster-components/longhorn
|
||||
repoURL: https://gitlab.mareshq.com/gitops/mareshq/bee.git
|
||||
targetRevision: HEAD
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
20
clusters/bee/_argocd/apps/monitoring.yaml
Normal file
20
clusters/bee/_argocd/apps/monitoring.yaml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: monitoring
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: monitoring
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
source:
|
||||
path: cluster-components/monitoring
|
||||
repoURL: https://gitlab.mareshq.com/gitops/mareshq/bee.git
|
||||
targetRevision: HEAD
|
||||
helm:
|
||||
skipCrds: true
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
21
clusters/bee/_argocd/apps/prometheus-operator-crds.yaml
Normal file
21
clusters/bee/_argocd/apps/prometheus-operator-crds.yaml
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: prometheus-operator-crds
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: monitoring
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
source:
|
||||
path: example/prometheus-operator-crd
|
||||
repoURL: https://github.com/prometheus-operator/prometheus-operator.git
|
||||
targetRevision: v0.60.1
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- Replace=true
|
||||
20
clusters/bee/_argocd/apps/registry.yaml
Normal file
20
clusters/bee/_argocd/apps/registry.yaml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: registry
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: registry
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
source:
|
||||
path: apps/registry
|
||||
repoURL: https://gitlab.mareshq.com/gitops/mareshq/bee.git
|
||||
targetRevision: HEAD
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
18
clusters/bee/_argocd/apps/sealed-secrets.yaml
Normal file
18
clusters/bee/_argocd/apps/sealed-secrets.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: sealed-secrets
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: kube-system
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
source:
|
||||
path: cluster-components/sealed-secrets
|
||||
repoURL: https://gitlab.mareshq.com/gitops/mareshq/bee.git
|
||||
targetRevision: HEAD
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
20
clusters/bee/_argocd/apps/system-upgrade-controller.yaml
Normal file
20
clusters/bee/_argocd/apps/system-upgrade-controller.yaml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: system-upgrade-controller
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: system-upgrade
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
source:
|
||||
path: manifests
|
||||
repoURL: https://github.com/rancher/system-upgrade-controller.git
|
||||
targetRevision: v0.10.0
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
18
clusters/bee/_argocd/apps/upgrade-plans.yaml
Normal file
18
clusters/bee/_argocd/apps/upgrade-plans.yaml
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: upgrade-plans
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: system-upgrade
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
source:
|
||||
path: cluster-components/upgrade-plans
|
||||
repoURL: https://gitlab.mareshq.com/gitops/mareshq/bee.git
|
||||
targetRevision: HEAD
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
20
clusters/bee/_argocd/apps/vault.yaml
Normal file
20
clusters/bee/_argocd/apps/vault.yaml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: vault
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: vault
|
||||
server: https://kubernetes.default.svc
|
||||
project: default
|
||||
source:
|
||||
path: apps/vault
|
||||
repoURL: https://gitlab.mareshq.com/gitops/mareshq/bee.git
|
||||
targetRevision: HEAD
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
59
clusters/bee/_argocd/values.yaml
Normal file
59
clusters/bee/_argocd/values.yaml
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
argo-cd:
|
||||
# High Availability
|
||||
redis-ha:
|
||||
enabled: true
|
||||
|
||||
controller:
|
||||
replicas: 1
|
||||
|
||||
repoServer:
|
||||
replicas: 2
|
||||
|
||||
pdb:
|
||||
enabled: true
|
||||
minAvailable: 1
|
||||
|
||||
applicationSet:
|
||||
replicas: 2
|
||||
|
||||
server:
|
||||
replicas: 2
|
||||
|
||||
pdb:
|
||||
enabled: true
|
||||
minAvailable: 1
|
||||
|
||||
# configEnabled: false
|
||||
# config:
|
||||
# url: "https://argocd.fox.k8s.vxm.cz/"
|
||||
# dex.config: |
|
||||
# connectors:
|
||||
# - type: gitlab
|
||||
# id: gitlab
|
||||
# name: GitLab
|
||||
# config:
|
||||
# baseURL: https://gitlab.mareshq.com
|
||||
# clientID: e699c44be6e14f5d9385b84c022d9a7a08196f374173aaa9ad19b2d20a563050
|
||||
# clientSecret: 953b3dd97b2b1d1a71dbec2c0204774bd0f1b5c94fea988ac23e795577e8c6eb
|
||||
# # redirectURI is filled by ArgoCD
|
||||
# # redirectURI: https://argocd.ant.k8s.vxm.cz/api/dex/callback
|
||||
# groups:
|
||||
# - infrastructure/mareshq
|
||||
# # flag which will switch from using the internal GitLab id to the users handle (@mention) as the user id.
|
||||
# # It is possible for a user to change their own user name but it is very rare for them to do so
|
||||
# useLoginAsID: false
|
||||
ingress:
|
||||
enabled: true
|
||||
hosts:
|
||||
- argocd.cloud.mareshq.com
|
||||
ingressClassName: nginx
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-mareshq
|
||||
kubernetes.io/tls-acme: "true"
|
||||
nginx.ingress.kubernetes.io/server-snippet: |
|
||||
proxy_ssl_verify off;
|
||||
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
|
||||
tls:
|
||||
- hosts:
|
||||
- argocd.cloud.mareshq.com
|
||||
secretName: argocd-tls
|
||||
Reference in a new issue