Files
homelab/cluster/cert-manager-appset.yaml

45 lines
1.1 KiB
YAML

---
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: cert-manager
namespace: openshift-gitops
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
goTemplate: true
goTemplateOptions: ["missingkey=error"]
generators:
- clusters: {} # Variable is .name
template:
metadata:
name: '{{.name}}-cert-manager'
annotations:
argocd.argoproj.io/sync-wave: "2"
spec:
destination:
name: '{{.name}}'
namespace: cert-manager
project: default
source:
path: cluster/cert-manager
repoURL: https://github.com/rblundon/homelab.git
targetRevision: HEAD
helm:
valueFiles:
- values-{{.name}}.yaml
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- RespectIgnoreDifferences=true
- CreateNamespace=true
managedNamespaceMetadata:
labels:
argocd.argoproj.io/managed-by: openshift-gitops
ignoreDifferences:
- group: apps
kind: Deployment
jsonPointers:
- /spec/replicas