File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
chart/docker-auth/templates Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 111. 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 }}
You can’t perform that action at this time.
0 commit comments