- Syncs k8s/apps/secret-rotation-controller/ kustomization - Auto-prune and self-heal enabled - Creates secret-rotation namespace - ArgoCD will deploy CRD, RBAC, ExternalSecret, Deployment
33 lines
675 B
YAML
33 lines
675 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: secret-rotation
|
|
namespace: argocd
|
|
labels:
|
|
app.kubernetes.io/name: secret-rotation
|
|
spec:
|
|
project: homelab
|
|
|
|
sources:
|
|
- repoURL: https://forgejo.riotpiao.com/rock/homelab.git
|
|
path: k8s/apps/secret-rotation-controller
|
|
targetRevision: main
|
|
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: secret-rotation
|
|
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
- RespectIgnoreDifferences=true
|
|
retry:
|
|
limit: 5
|
|
backoff:
|
|
duration: 5s
|
|
factor: 2
|
|
maxDuration: 3m
|