Added k3s tooling

This commit is contained in:
2024-11-04 23:59:00 +00:00
parent c0097428df
commit cf3ceea721
9 changed files with 282 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
{{- if .Values.cert-manager.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" # Helm repository for Tailscale
chart: cert-manager # Chart name
targetRevision: {{ .Values.cert-manager.targetRevision }} # Version of the chart (update to latest if needed)
helm:
values: |
crds:
enabled: true
destination:
server: {{ .Values.cert-manager.destination.server }}
namespace: {{ .Values.cert-manager.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 }}