Skip to content

Commit 5776ccc

Browse files
fixup helm-chart notes
1 parent 806ed68 commit 5776ccc

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

chart/docker-auth/templates/NOTES.txt

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
1. Get the application URL by running these commands:
22
{{- if .Values.ingress.enabled }}
33
{{- range .Values.ingress.hosts }}
4-
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ . }}{{ $.Values.ingress.path }}
4+
{{- range .paths }}
5+
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $.host }}{{ .path }}
6+
{{- end }}
57
{{- end }}
68
{{- else if contains "NodePort" .Values.service.type }}
79
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "docker-auth.fullname" . }})
@@ -25,10 +27,12 @@ auth:
2527
autoredirect: false
2628
{{- if .Values.ingress.enabled }}
2729
{{- range .Values.ingress.hosts }}
28-
realm: http{{ if $.Values.ingress.tls }}s{{ end }}://{{ . }}{{ $.Values.ingress.path }}
30+
{{- range .paths }}
31+
realm: http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $.host }}{{ .path }}
32+
{{- end }}
2933
{{- end }}
3034
{{- end }}
3135
service: token-service
32-
issuer: Acme auth server
33-
rootcertbundle: /path/to/server.pem
36+
issuer: {{ .Values.configmap.data.token.issuer }}
37+
rootcertbundle: /config/certs/{{ .Values.secret.certificateFileName }}
3438
{{- end }}

0 commit comments

Comments
 (0)