argocd: enable directory recurse on the remaining Directory apps
Without it, moving manifests into component directories makes ArgoCD stop seeing them and prune the workload.
This commit is contained in:
@@ -9,6 +9,8 @@ spec:
|
||||
repoURL: https://gitea.jsme.be/Jeffrey/Kubernetes-Manifests.git
|
||||
path: applications/bentopdf
|
||||
targetRevision: main
|
||||
directory:
|
||||
recurse: true
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: bentopdf
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: crowdsec
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: https://crowdsecurity.github.io/helm-charts
|
||||
chart: crowdsec
|
||||
targetRevision: 0.24.0
|
||||
helm:
|
||||
valueFiles:
|
||||
- $values/infra/crowdsec/values.yaml
|
||||
- repoURL: https://gitea.jsme.be/Jeffrey/Kubernetes-Manifests.git
|
||||
targetRevision: HEAD
|
||||
ref: values
|
||||
- repoURL: https://gitea.jsme.be/Jeffrey/Kubernetes-Manifests.git
|
||||
targetRevision: HEAD
|
||||
path: infra/crowdsec
|
||||
directory:
|
||||
exclude: "values.yaml"
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: crowdsec
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- ServerSideApply=true
|
||||
@@ -0,0 +1,34 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: crowdsec-envoy-bouncer
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
# OCI Helm chart. If ArgoCD reports the repo as unknown, register it once:
|
||||
# argocd repo add ghcr.io/kdwils/charts --type helm --name kdwils --enable-oci
|
||||
- repoURL: ghcr.io/kdwils/charts
|
||||
chart: envoy-proxy-bouncer
|
||||
targetRevision: 0.6.3
|
||||
helm:
|
||||
releaseName: crowdsec-envoy-bouncer
|
||||
valueFiles:
|
||||
- $values/infra/crowdsec-envoy-bouncer/values.yaml
|
||||
- repoURL: https://gitea.jsme.be/Jeffrey/Kubernetes-Manifests.git
|
||||
targetRevision: HEAD
|
||||
ref: values
|
||||
- repoURL: https://gitea.jsme.be/Jeffrey/Kubernetes-Manifests.git
|
||||
targetRevision: HEAD
|
||||
path: infra/crowdsec-envoy-bouncer
|
||||
directory:
|
||||
exclude: "values.yaml"
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: crowdsec
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- ServerSideApply=true
|
||||
@@ -9,6 +9,8 @@ spec:
|
||||
repoURL: https://gitea.jsme.be/Jeffrey/Kubernetes-Manifests.git
|
||||
path: applications/jellyfin
|
||||
targetRevision: HEAD
|
||||
directory:
|
||||
recurse: true
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: jellyfin
|
||||
|
||||
@@ -8,6 +8,8 @@ spec:
|
||||
source:
|
||||
repoURL: https://gitea.jsme.be/Jeffrey/Kubernetes-Manifests.git
|
||||
targetRevision: HEAD
|
||||
directory:
|
||||
recurse: true
|
||||
path: applications/minio-aistor
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
|
||||
@@ -9,6 +9,8 @@ spec:
|
||||
repoURL: https://gitea.jsme.be/Jeffrey/Kubernetes-Manifests.git
|
||||
path: applications/netbootxyz
|
||||
targetRevision: HEAD
|
||||
directory:
|
||||
recurse: true
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: netbootxyz
|
||||
|
||||
@@ -9,6 +9,8 @@ spec:
|
||||
repoURL: https://gitea.jsme.be/Jeffrey/Kubernetes-Manifests.git
|
||||
path: applications/proxmox
|
||||
targetRevision: HEAD
|
||||
directory:
|
||||
recurse: true
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: proxmox
|
||||
|
||||
Reference in New Issue
Block a user