- 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]>
45 lines
1.2 KiB
YAML
45 lines
1.2 KiB
YAML
{{- range .Values.applications }}
|
|
{{- if .enabled }}
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: {{ .name }}
|
|
namespace: {{ $.Values.argocd.namespace }}
|
|
finalizers:
|
|
- resources-finalizer.argocd.argoproj.io
|
|
spec:
|
|
project: {{ $.Values.argocd.project }}
|
|
source:
|
|
repoURL: {{ .source.repoURL }}
|
|
targetRevision: {{ .source.targetRevision }}
|
|
{{- if .source.chart }}
|
|
chart: {{ .source.chart }}
|
|
{{- else }}
|
|
path: {{ .source.path }}
|
|
{{- end }}
|
|
{{- if or (and .source.helm .source.helm.parameters) (and .source.helm .source.helm.valueFiles) (and .source.helm .source.helm.values) }}
|
|
helm:
|
|
{{- if .source.helm.parameters }}
|
|
parameters:
|
|
{{- toYaml .source.helm.parameters | nindent 8 }}
|
|
{{- end }}
|
|
{{- if .source.helm.valueFiles }}
|
|
valueFiles:
|
|
{{- toYaml .source.helm.valueFiles | nindent 8 }}
|
|
{{- end }}
|
|
{{- if .source.helm.values }}
|
|
values: |
|
|
{{- .source.helm.values | nindent 8 }}
|
|
{{- end }}
|
|
{{- end }}
|
|
destination:
|
|
server: {{ .destination.server }}
|
|
namespace: {{ .destination.namespace }}
|
|
{{- if .syncPolicy }}
|
|
syncPolicy:
|
|
{{- toYaml .syncPolicy | nindent 4 }}
|
|
{{- end }}
|
|
---
|
|
{{- end }}
|
|
{{- end }}
|