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
|