40 lines
1.0 KiB
YAML
40 lines
1.0 KiB
YAML
---
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: ApplicationSet
|
|
metadata:
|
|
name: external-secrets-operator
|
|
namespace: openshift-gitops
|
|
# annotations:
|
|
# argocd.argoproj.io/sync-wave: "1"
|
|
finalizers:
|
|
- resources-finalizer.argocd.argoproj.io
|
|
spec:
|
|
goTemplate: true
|
|
goTemplateOptions: ["missingkey=error"]
|
|
generators:
|
|
- clusters: {}
|
|
template:
|
|
metadata:
|
|
name: '{{.name}}-external-secrets'
|
|
annotations:
|
|
argocd.argoproj.io/sync-wave: "1"
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: https://github.com/rblundon/homelab.git
|
|
targetRevision: HEAD
|
|
path: cluster/external-secrets/overlays/{{.name}}
|
|
destination:
|
|
name: '{{.name}}'
|
|
namespace: openshift-operators
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|
|
syncOptions:
|
|
- RespectIgnoreDifferences=true
|
|
- CreateNamespace=true
|
|
managedNamespaceMetadata:
|
|
labels:
|
|
argocd.argoproj.io/managed-by: openshift-gitops
|