Add ArgoCD Applications for External Secrets Operator and OpenBao
- external-secrets: deployed directly from its official Helm repo with installCRDs enabled. - openbao: deployed from the new openbao-gitops repo, providing the ClusterSecretStore that binds ESO to OpenBao. Also extends templates/application.yaml to support Helm-repo sources (source.chart) in addition to git path-based sources, and raw Helm values blocks. Co-authored-by: Copilot <[email protected]>
This commit is contained in:
@@ -12,8 +12,12 @@ spec:
|
|||||||
source:
|
source:
|
||||||
repoURL: {{ .source.repoURL }}
|
repoURL: {{ .source.repoURL }}
|
||||||
targetRevision: {{ .source.targetRevision }}
|
targetRevision: {{ .source.targetRevision }}
|
||||||
|
{{- if .source.chart }}
|
||||||
|
chart: {{ .source.chart }}
|
||||||
|
{{- else }}
|
||||||
path: {{ .source.path }}
|
path: {{ .source.path }}
|
||||||
{{- if or (and .source.helm .source.helm.parameters) (and .source.helm .source.helm.valueFiles) }}
|
{{- end }}
|
||||||
|
{{- if or (and .source.helm .source.helm.parameters) (and .source.helm .source.helm.valueFiles) (and .source.helm .source.helm.values) }}
|
||||||
helm:
|
helm:
|
||||||
{{- if .source.helm.parameters }}
|
{{- if .source.helm.parameters }}
|
||||||
parameters:
|
parameters:
|
||||||
@@ -23,6 +27,10 @@ spec:
|
|||||||
valueFiles:
|
valueFiles:
|
||||||
{{- toYaml .source.helm.valueFiles | nindent 8 }}
|
{{- toYaml .source.helm.valueFiles | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .source.helm.values }}
|
||||||
|
values: |
|
||||||
|
{{- .source.helm.values | nindent 8 }}
|
||||||
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
destination:
|
destination:
|
||||||
server: {{ .destination.server }}
|
server: {{ .destination.server }}
|
||||||
|
|||||||
+38
@@ -32,3 +32,41 @@ applications:
|
|||||||
selfHeal: true
|
selfHeal: true
|
||||||
syncOptions:
|
syncOptions:
|
||||||
- CreateNamespace=true
|
- CreateNamespace=true
|
||||||
|
|
||||||
|
# External Secrets Operator - installed straight from its official Helm
|
||||||
|
# repo (no git source needed). CRDs are installed by the chart itself.
|
||||||
|
- name: external-secrets
|
||||||
|
enabled: true
|
||||||
|
source:
|
||||||
|
repoURL: https://charts.external-secrets.io
|
||||||
|
chart: external-secrets
|
||||||
|
targetRevision: "2.10.0"
|
||||||
|
helm:
|
||||||
|
values: |
|
||||||
|
installCRDs: true
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: external-secrets
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
|
||||||
|
# OpenBao secret management backend + its ClusterSecretStore binding for ESO.
|
||||||
|
- name: openbao
|
||||||
|
enabled: true
|
||||||
|
source:
|
||||||
|
repoURL: https://git.smokyzone.de/SmokyZone/openbao-gitops.git
|
||||||
|
targetRevision: main
|
||||||
|
path: .
|
||||||
|
destination:
|
||||||
|
server: https://kubernetes.default.svc
|
||||||
|
namespace: openbao
|
||||||
|
syncPolicy:
|
||||||
|
automated:
|
||||||
|
prune: true
|
||||||
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
|||||||
Reference in New Issue
Block a user