Skip to content

Commit

Permalink
fix(utils/k8s_scripts): Fix values for InstallArgoCDDomain (with ingr…
Browse files Browse the repository at this point in the history
…ess)
  • Loading branch information
ondrejsika committed Feb 14, 2024
1 parent e3aae79 commit 2cb8307
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utils/k8s_scripts/k8s_scripts_argocd.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ func InstallArgoCD(namespace string, dry bool) {
}

func InstallArgoCDDomain(namespace string, domain string, dry bool) {
// https://github.com/argoproj/argo-helm/blob/main/charts/argo-cd/values.yaml
sh(`helm upgrade --install \
argocd argo-cd \
--repo https://argoproj.github.io/argo-helm \
--create-namespace \
--namespace `+namespace+` \
--set 'server.ingress.enabled=true' \
--set 'server.ingress.hosts[0]='`+domain+` \
--set 'server.ingress.hostname='`+domain+` \
--set 'server.ingress.ingressClassName=nginx' \
--set 'server.ingress.annotations.cert-manager\.io/cluster-issuer=letsencrypt' \
--set 'server.ingress.annotations.nginx\.ingress\.kubernetes\.io/backend-protocol=HTTPS' \
--set 'server.ingress.tls[0].hosts[0]=`+domain+`' \
--set 'server.ingress.tls[0].secretName=argocd-tls' \
--set 'server.ingress.tls=true' \
--wait`, dry)
}

0 comments on commit 2cb8307

Please sign in to comment.