fix: argocd bootstrap fix
This commit is contained in:
parent
eb059883c1
commit
daf70c9bfb
@ -23,3 +23,7 @@ GITKEY=$(get_kubezero_secret argo-cd.kubezero.sshPrivateKey)
|
|||||||
if [ -z "$GITKEY" ]; then
|
if [ -z "$GITKEY" ]; then
|
||||||
set_kubezero_secret argo-cd.kubezero.sshPrivateKey "Insert ssh Private Key from your git server"
|
set_kubezero_secret argo-cd.kubezero.sshPrivateKey "Insert ssh Private Key from your git server"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Redis secret
|
||||||
|
kubectl get secret argocd-redis -n argocd || kubectl create secret generic argocd-redis -n argocd \
|
||||||
|
--from-literal=auth=$(date +%s | sha256sum | base64 | head -c 16 ; echo)
|
||||||
|
@ -17,4 +17,10 @@ spec:
|
|||||||
sourceRepos:
|
sourceRepos:
|
||||||
- https://cdn.zero-downtime.net/charts
|
- https://cdn.zero-downtime.net/charts
|
||||||
- {{ index .Values "argo-cd" "kubezero" "repoUrl" }}
|
- {{ index .Values "argo-cd" "kubezero" "repoUrl" }}
|
||||||
|
syncWindows:
|
||||||
|
- kind: deny
|
||||||
|
schedule: '0 * * * *'
|
||||||
|
duration: 24h
|
||||||
|
namespaces:
|
||||||
|
- '*'
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user