This commit is contained in:
James Andariese 2023-04-27 20:09:43 -05:00
parent 83b6e5beb3
commit 7345be46a0
2 changed files with 32 additions and 0 deletions

31
argo1/templates/pgo.yaml Normal file
View File

@ -0,0 +1,31 @@
# {{ if (index .Values "pgo").enabled }}
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: {{ .Release.Name }}-pgo
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
path: {{ (index .Values "pgo").path | default "." | quote }}
repoURL: {{ (index .Values "pgo").repoURL | quote }}
targetRevision: {{ (index .Values "pgo").targetRevision | default "main" | quote}}
kustomize: {}
destination:
server: "https://kubernetes.default.svc"
namespace: argocd
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
retry:
limit: 10
backoff:
duration: 5s
factor: 2
maxDuration: 3m0s
# {{- end }}

View File

@ -112,6 +112,7 @@ openebs:
enabled: false
external-secrets: {enabled: true}
pgo: {enabled: true}
secrets: {enabled: true}
sealed-secrets: {enabled: true}
trust-manager: {enabled: true}