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
|
repoURL: https://gitea.jsme.be/Jeffrey/Kubernetes-Manifests.git
|
||||||
path: applications/bentopdf
|
path: applications/bentopdf
|
||||||
targetRevision: main
|
targetRevision: main
|
||||||
|
directory:
|
||||||
|
recurse: true
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: bentopdf
|
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
|
repoURL: https://gitea.jsme.be/Jeffrey/Kubernetes-Manifests.git
|
||||||
path: applications/jellyfin
|
path: applications/jellyfin
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
|
directory:
|
||||||
|
recurse: true
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: jellyfin
|
namespace: jellyfin
|
||||||
|
|||||||
@@ -8,6 +8,8 @@ spec:
|
|||||||
source:
|
source:
|
||||||
repoURL: https://gitea.jsme.be/Jeffrey/Kubernetes-Manifests.git
|
repoURL: https://gitea.jsme.be/Jeffrey/Kubernetes-Manifests.git
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
|
directory:
|
||||||
|
recurse: true
|
||||||
path: applications/minio-aistor
|
path: applications/minio-aistor
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ spec:
|
|||||||
repoURL: https://gitea.jsme.be/Jeffrey/Kubernetes-Manifests.git
|
repoURL: https://gitea.jsme.be/Jeffrey/Kubernetes-Manifests.git
|
||||||
path: applications/netbootxyz
|
path: applications/netbootxyz
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
|
directory:
|
||||||
|
recurse: true
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: netbootxyz
|
namespace: netbootxyz
|
||||||
|
|||||||
@@ -9,6 +9,8 @@ spec:
|
|||||||
repoURL: https://gitea.jsme.be/Jeffrey/Kubernetes-Manifests.git
|
repoURL: https://gitea.jsme.be/Jeffrey/Kubernetes-Manifests.git
|
||||||
path: applications/proxmox
|
path: applications/proxmox
|
||||||
targetRevision: HEAD
|
targetRevision: HEAD
|
||||||
|
directory:
|
||||||
|
recurse: true
|
||||||
destination:
|
destination:
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
namespace: proxmox
|
namespace: proxmox
|
||||||
|
|||||||
Reference in New Issue
Block a user