core-deployments/core-deployments.yaml

143 lines
3.8 KiB
YAML

---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: nginx-ingress
namespace: argocd
spec:
project: default
sources:
- repoURL: https://helm.nginx.com/stable
chart: nginx-ingress
targetRevision: 0.16.1
helm:
releaseName: nginx
valueFiles:
- $values/ingress/values.yaml
- repoURL: https://git.ar21.de/yolokube/core-deployments.git
targetRevision: HEAD
ref: values
destination:
server: https://kubernetes.default.svc
namespace: nginx-ingress
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
selfHeal: false
prune: true
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: argocd-ingress
namespace: argocd
spec:
project: default
source:
repoURL: https://git.ar21.de/yolokube/core-deployments.git
targetRevision: HEAD
path: argo
destination:
server: https://kubernetes.default.svc
namespace: argocd
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
selfHeal: false
prune: true
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: longhorn
namespace: argocd
spec:
project: default
sources:
- repoURL: https://charts.longhorn.io
chart: longhorn
targetRevision: 1.4.3 # see Infos below, the CSI snapshotter needs to be updated too
helm:
releaseName: longhorn
valueFiles:
- $values/longhorn/values.yaml
- repoURL: https://git.ar21.de/yolokube/core-deployments.git
targetRevision: HEAD
ref: values
- repoURL: https://git.ar21.de/yolokube/core-deployments.git
targetRevision: HEAD
path: longhorn
- repoURL: https://github.com/kubernetes-csi/external-snapshotter.git
targetRevision: v5.0.1 # <-- needs to be updated when longhorn version is changed. Find the correct version here: https://longhorn.io/docs/latest/snapshots-and-backups/csi-snapshot-support/csi-volume-snapshot-associated-with-longhorn-snapshot/
path: client/config/crd
- repoURL: https://github.com/kubernetes-csi/external-snapshotter.git
targetRevision: v5.0.1 # <-- needs to be updated when longhorn version is changed. Find the correct version here: https://longhorn.io/docs/latest/snapshots-and-backups/csi-snapshot-support/csi-volume-snapshot-associated-with-longhorn-snapshot/
path: deploy/kubernetes/snapshot-controller
destination:
server: https://kubernetes.default.svc
namespace: longhorn-system
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
selfHeal: false
prune: true
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: prometheus
namespace: argocd
spec:
project: default
sources:
- chart: kube-prometheus-stack
repoURL: https://prometheus-community.github.io/helm-charts
targetRevision: 48.3.1
helm:
releaseName: prometheus
valueFiles:
- $values/prometheus/values.yaml
- repoURL: https://git.ar21.de/yolokube/core-deployments.git
targetRevision: HEAD
ref: values
- repoURL: https://git.ar21.de/yolokube/core-deployments.git
targetRevision: HEAD
path: prometheus
destination:
server: https://kubernetes.default.svc
namespace: prometheus
syncPolicy:
syncOptions:
- CreateNamespace=true
- ServerSideApply=true
automated:
selfHeal: false
prune: true
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: node-labeler
namespace: argocd
spec:
project: default
source:
repoURL: https://git.ar21.de/yolokube/core-deployments.git
targetRevision: HEAD
path: node-labeler
destination:
server: https://kubernetes.default.svc
namespace: node-labeler
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
selfHeal: false
prune: true