Last active
July 29, 2020 21:32
-
-
Save lastcoolnameleft/7eb87559ad9181baeb64ea0aeb575f37 to your computer and use it in GitHub Desktop.
complex helm install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
helm upgrade -i kubernetes-dashboard kubernetes-dashboard/kubernetes-dashboard --debug \ | |
--set service.type=ClusterIP \ | |
--set ingress.enabled=true \ | |
--set "ingress.paths[0]=/\(\.\*\)" \ | |
--set "ingress.hosts[0]=$APP_HOSTNAME" \ | |
--set "ingress.tls[0].secretName=$APP_HOSTNAME-tls" \ | |
--set "ingress.tls[0].hosts[0]=$APP_HOSTNAME" \ | |
--set ingress.annotations."kubernetes\.io/ingress\.class"=nginx \ | |
--set ingress.annotations."cert-manager\.io/cluster-issuer"=letsencrypt-prod \ | |
--set ingress.annotations."nginx\.ingress\.kubernetes\.io/rewrite-target"="/\$1" \ | |
--set ingress.annotations."nginx\.ingress\.kubernetes\.io/auth-url"="https://\$host/msal/auth" \ | |
--set ingress.annotations."nginx\.ingress\.kubernetes\.io/auth-signin"="https://\$host/msal/index?rd=\$escaped_request_uri" \ | |
--set ingress.annotations."nginx\.ingress\.kubernetes\.io/auth-response-headers"="x-injected-aio\,x-injected-name\,x-injected-nameidentifier\,x-injected-objectidentifier\,x-injected-preferred_username\,x-injected-tenantid\,x-injected-uti" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
helm upgrade -i podinfo podinfo/podinfo --debug \ | |
--set service.type=ClusterIP \ | |
--set ingress.enabled=true \ | |
--set "ingress.hosts[0]=$INGRESS_HOST" \ | |
--set "ingress.path=/" \ | |
--set "ingress.tls[0].secretName=$INGRESS_HOST-tls" \ | |
--set "ingress.tls[0].hosts[0]=$INGRESS_HOST" \ | |
--set ingress.annotations."kubernetes\.io/ingress\.class"=nginx \ | |
--set ingress.annotations."cert-manager\.io/cluster-issuer"=letsencrypt-prod \ | |
--set ingress.annotations."nginx\.ingress\.kubernetes\.io/rewrite-target"="/\$1" \ | |
--set ingress.annotations."nginx\.ingress\.kubernetes\.io/auth-url"="https://\$host/msal/auth" \ | |
--set ingress.annotations."nginx\.ingress\.kubernetes\.io/auth-signin"="https://\$host/msal/index?rd=\$escaped_request_uri" \ | |
--set ingress.annotations."nginx\.ingress\.kubernetes\.io/auth-response-headers"="x-injected-aio\,x-injected-name\,x-injected-nameidentifier\,x-injected-objectidentifier\,x-injected-preferred_username\,x-injected-tenantid\,x-injected-uti" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment