Compare commits
3 Commits
68b9b607cb
...
909d29cc6c
Author | SHA1 | Date | |
---|---|---|---|
909d29cc6c | |||
daf70c9bfb | |||
eb059883c1 |
@ -330,6 +330,7 @@ apply_module() {
|
||||
for t in $MODULES; do
|
||||
# apply/replace app of apps directly
|
||||
if [ $t == "kubezero" ]; then
|
||||
[ -f $CHARTS/kubezero/hooks.d/pre-install.sh ] && . $CHARTS/kubezero/hooks.d/pre-install.sh
|
||||
kubectl replace -f $WORKDIR/kubezero/templates $(field_manager $ARGOCD)
|
||||
else
|
||||
#_helm apply $t
|
||||
|
@ -22,7 +22,7 @@ dependencies:
|
||||
repository: https://argoproj.github.io/argo-helm
|
||||
condition: argo-events.enabled
|
||||
- name: argo-cd
|
||||
version: 7.8.14
|
||||
version: 7.8.15
|
||||
repository: https://argoproj.github.io/argo-helm
|
||||
condition: argo-cd.enabled
|
||||
- name: argocd-image-updater
|
||||
|
@ -23,3 +23,7 @@ GITKEY=$(get_kubezero_secret argo-cd.kubezero.sshPrivateKey)
|
||||
if [ -z "$GITKEY" ]; then
|
||||
set_kubezero_secret argo-cd.kubezero.sshPrivateKey "Insert ssh Private Key from your git server"
|
||||
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:
|
||||
- https://cdn.zero-downtime.net/charts
|
||||
- {{ index .Values "argo-cd" "kubezero" "repoUrl" }}
|
||||
syncWindows:
|
||||
- kind: deny
|
||||
schedule: '0 * * * *'
|
||||
duration: 24h
|
||||
namespaces:
|
||||
- '*'
|
||||
{{- end }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user