add pgo
This commit is contained in:
parent
83b6e5beb3
commit
7345be46a0
31
argo1/templates/pgo.yaml
Normal file
31
argo1/templates/pgo.yaml
Normal 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 }}
|
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue
Block a user