added repo

This commit is contained in:
Your Name
2026-08-26 03:39:42 +05:30
parent 45c25a95af
commit b8575bb8b9
6889 changed files with 1217125 additions and 0 deletions
@@ -0,0 +1,36 @@
{{- /*
ExternalSecret to sync Root CA from Vault via ESO.
Creates the Root CA K8s Secret that cert-manager's Root CA Issuer references.
Only needed when rootCA.mode is "external" and externalSecret.enabled is true.
Uses dataFrom.extract to pull all keys from a single Vault path.
*/}}
{{- if and .Values.useCertManager (eq .Values.certManager.rootCA.mode "external") .Values.certManager.externalSecret.enabled }}
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: {{ printf "%s-root-ca" (include "common.names.fullname" .) }}
namespace: {{ include "common.names.namespace" . | quote }}
annotations:
argocd.argoproj.io/sync-wave: "-5"
{{- if .Values.commonAnnotations }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
spec:
dataFrom:
- extract:
conversionStrategy: Default
key: {{ .Values.certManager.externalSecret.vaultPath }}
{{- if .Values.certManager.externalSecret.vaultVersion }}
version: {{ .Values.certManager.externalSecret.vaultVersion | quote }}
{{- end }}
refreshInterval: {{ .Values.certManager.externalSecret.refreshInterval | quote }}
secretStoreRef:
kind: ClusterSecretStore
name: {{ .Values.certManager.externalSecret.secretStoreRef.name }}
target:
name: {{ .Values.certManager.rootCA.secretName }}
creationPolicy: Owner
deletionPolicy: Retain
{{- end }}