@@ -32,10 +32,10 @@ Your STAC Auth Proxy has been deployed with the following configuration:
3232{{- end }}
3333
34342. Configuration Details:
35- - Upstream STAC API: {{ .Values.config.upstreamUrl }}
36- - OIDC Discovery URL: {{ .Values.config.oidc.discoveryUrl }}
37- - Health Check Endpoint: {{ .Values.config.healthzPrefix }}
38- - Default Public Access: {{ .Values.config.defaultPublic }}
35+ - Upstream STAC API: {{ .Values.env.UPSTREAM_URL }}
36+ - OIDC Discovery URL: {{ .Values.env.OIDC_DISCOVERY_URL }}
37+ - Health Check Endpoint: {{ .Values.env.HEALTHZ_PREFIX | default "/healthz" }}
38+ - Default Public Access: {{ .Values.env.DEFAULT_PUBLIC | default "false" }}
3939
40403. Verify the deployment:
4141 kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "stac-auth-proxy.name" . }},app.kubernetes.io/instance={{ .Release.Name }}"
@@ -47,25 +47,25 @@ Your STAC Auth Proxy has been deployed with the following configuration:
4747{{- if .Values.ingress.enabled }}
4848{{- if .Values.ingress.host }}
4949 {{- if .Values.ingress.tls.enabled }}
50- curl https://{{ .Values.ingress.host }}{{ .Values.config.healthzPrefix }}
50+ curl https://{{ .Values.ingress.host }}{{ .Values.env.HEALTHZ_PREFIX | default "/healthz" }}
5151 {{- else }}
52- curl http://{{ .Values.ingress.host }}{{ .Values.config.healthzPrefix }}
52+ curl http://{{ .Values.ingress.host }}{{ .Values.env.HEALTHZ_PREFIX | default "/healthz" }}
5353 {{- end }}
5454{{- end }}
5555{{- else }}
5656 kubectl port-forward --namespace {{ .Release.Namespace }} service/{{ include "stac-auth-proxy.fullname" . }} 8000:{{ .Values.service.port }}
57- curl http://localhost:8000{{ .Values.config.healthzPrefix }}
57+ curl http://localhost:8000{{ .Values.env.HEALTHZ_PREFIX | default "/healthz" }}
5858{{- end }}
5959
6060For more information about STAC Auth Proxy, please visit:
6161https://github.com/developmentseed/stac-auth-proxy
6262
63- {{- if or (not .Values.config.upstreamUrl ) (not .Values.config.oidc.discoveryUrl ) }}
63+ {{- if or (not .Values.env.UPSTREAM_URL ) (not .Values.env.OIDC_DISCOVERY_URL ) }}
6464WARNING: Some required configuration values are not set. Please ensure you have configured:
65- {{- if not .Values.config.upstreamUrl }}
66- - config.upstreamUrl
65+ {{- if not .Values.env.UPSTREAM_URL }}
66+ - env.UPSTREAM_URL
6767{{- end }}
68- {{- if not .Values.config.oidc.discoveryUrl }}
69- - config.oidc.discoveryUrl
68+ {{- if not .Values.env.OIDC_DISCOVERY_URL }}
69+ - env.OIDC_DISCOVERY_URL
7070{{- end }}
7171{{- end }}
0 commit comments