Updated script + argocdUrl
This commit is contained in:
1 parent
dfaeb1a5f6
commit
ae350e895b
6 files changed
+11
No files matched your search
@@ -21,6 +21,7 @@ if [ -f "$tmp_path" ]; then
|
||||
echo " -> Renaming old file to "$tmp_path".old.${num_files}"
|
||||
mv $tmp_path $tmp_path".old.${num_files}"
|
||||
else
|
||||
rm $tmp_path".old"*
|
||||
echo " -> Renaming old file to "$tmp_path".old"
|
||||
mv $tmp_path $tmp_path".old"
|
||||
fi
|
||||
@@ -29,6 +30,7 @@ helm template $app $full_path --namespace $app \
|
||||
--debug \
|
||||
--create-namespace \
|
||||
--values k8s/argocd/values.yaml \
|
||||
--values k8s/argocd/values-${deployment}.yaml \
|
||||
--set selfapp.deployment="${deployment}" \
|
||||
--set selfapp.enabled="true" \
|
||||
--set selfapp.sshkey="$(cat ~/.ssh/id_rsa)" \
|
||||
|
||||
@@ -30,6 +30,7 @@ spec:
|
||||
helm:
|
||||
valueFiles:
|
||||
- values.yaml
|
||||
- values-{{ .Values.selfapp.deployment }}.yaml
|
||||
parameters:
|
||||
- name: "selfapp.deployment"
|
||||
value: {{ .Values.selfapp.deployment | quote }}
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
argo-cd:
|
||||
notifications:
|
||||
argocdUrl: "https://argocd.home.local"
|
||||
@@ -0,0 +1,3 @@
|
||||
argo-cd:
|
||||
notifications:
|
||||
argocdUrl: "https://argocd.core.home.sosnovsky.ca"
|
||||
@@ -1,4 +1,6 @@
|
||||
argo-cd:
|
||||
notifications:
|
||||
argocdUrl: ""
|
||||
configs:
|
||||
cm:
|
||||
exec.enabled: true
|
||||
|
||||
Reference in new issue
Block a user