Removing finalizers
This commit is contained in:
30
k3s-tooling/templates/certmanager.yaml
Normal file
30
k3s-tooling/templates/certmanager.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
{{- if .Values.certManager.enabled -}}
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: cert-manager
|
||||
namespace: {{ .Values.argocd.namespace }}
|
||||
# finalizers:
|
||||
# - resources-finalizer.argocd.argoproj.io
|
||||
spec:
|
||||
project: {{ .Values.argocd.project }}
|
||||
source:
|
||||
repoURL: "https://charts.jetstack.io"
|
||||
chart: cert-manager # Chart name
|
||||
targetRevision: {{ .Values.certManager.targetRevision }} # Version of the chart (update to latest if needed)
|
||||
helm:
|
||||
valuesObject:
|
||||
crds:
|
||||
enabled: true
|
||||
destination:
|
||||
server: {{ .Values.certManager.destination.server }}
|
||||
namespace: {{ .Values.certManager.destination.namespace }}
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true # Automatically remove resources no longer in the repo
|
||||
selfHeal: true # Automatically self-heal when drift is detected
|
||||
syncOptions:
|
||||
- ApplyOutOfSyncOnly=true
|
||||
- ServerSideApply=true
|
||||
- CreateNamespace=true
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user