Made local install script friendlier (#123)

This commit is contained in:
iko 2021-10-04 18:32:19 +03:00 committed by GitHub
parent 33d507286e
commit 27f98f8272
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 7 deletions

View File

@ -1,8 +1,12 @@
Thank you for installing Octopod!
You can access the Web UI here: {{ include "httpScheme" . }}://{{ include "uiIngressHost" . }}
To access Octopod via octo CLI you can use this URL: {{ include "httpScheme" . }}://{{ include "powerAppIngressHost" . }}
To get your CLI secret you need to execute this command:
kubectl -n {{ .Release.Namespace }} get secret {{ include "octopodCliAuthSecretName" . }} -o jsonpath='{.data.cli-secret}' | base64 -d
🐙 Thank you for installing Octopod!
🖥️ You can access the Web UI here: {{ include "httpScheme" . }}://{{ include "uiIngressHost" . }}
🎛 To access Octopod via octo CLI you can use this URL: {{ include "httpScheme" . }}://{{ include "powerAppIngressHost" . }}
🔑 To get your CLI secret you need to execute this command:
kubectl -n {{ .Release.Namespace }} get secret {{ include "octopodCliAuthSecretName" . }} -o jsonpath='{.data.cli-secret}' | base64 -d
{{ if and (not .Values.octopod.cliAuthSecret) (not .Values.vault.enabled) .Release.IsUpgrade }}
{{ fail "To upgrade you need to set the octopod.cliAuthSecret variable with your current secret" }}
{{- end }}

View File

@ -97,5 +97,9 @@ helm repo add typeable https://typeable.github.io/octopod
helm repo update
message "Installing octopod helm chart"
helm --kube-context=kind-octopod -n octopod install octopod typeable/octopod --wait --timeout=5m --set octopod.baseDomain="lvh.me" --set ingress.tls.enabled=false
message "Octopod was successfully installed! Use instruction above to connect to it."
message "To uninstall octopod just run: kind delete cluster --name octopod"
echo
echo " 🌟 Don't forget to star Octopod on GitHub:"
echo " https://github.com/typeable/octopod"
echo
echo " 🗑️ To uninstall Octopod just run:"
echo " kind delete cluster --name octopod"