diff --git a/charts/athens-proxy/Chart.yaml b/charts/athens-proxy/Chart.yaml index 7864ad02..64514d89 100644 --- a/charts/athens-proxy/Chart.yaml +++ b/charts/athens-proxy/Chart.yaml @@ -1,8 +1,8 @@ name: athens-proxy -version: 0.2.3 +version: 0.2.4 appVersion: 0.3.1 description: The proxy server for Go modules -icon: https://bitnami.com/assets/stacks/wordpress/img/wordpress-stack-220x234.png +icon: https://raw.githubusercontent.com/gomods/athens/master/docs/static/banner.png keywords: - Golang - Package Management diff --git a/charts/athens-proxy/templates/NOTES.txt b/charts/athens-proxy/templates/NOTES.txt index 9a9dfb5f..238cc0e7 100644 --- a/charts/athens-proxy/templates/NOTES.txt +++ b/charts/athens-proxy/templates/NOTES.txt @@ -1,7 +1,11 @@ -{{- if .Values.ingress.enabled }} +{{- if (and .Values.ingress.enabled .Values.ingress.tls) }} {{- range .Values.ingress.hosts }} https://{{ . }} {{- end }} +{{- else if .Values.ingress.enabled }} +{{- range .Values.ingress.hosts }} + http://{{ . }} +{{- end }} {{- else if contains "NodePort" .Values.service.type }} export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template "fullname" . }}) export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}") @@ -16,4 +20,3 @@ echo "Visit http://127.0.0.1:8080 to use your application" kubectl port-forward $POD_NAME 8080:3000 {{- end }} -