@@ -32,10 +32,10 @@ Your STAC Auth Proxy has been deployed with the following configuration:
32
32
{{- end }}
33
33
34
34
2. 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" }}
39
39
40
40
3. Verify the deployment:
41
41
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:
47
47
{{- if .Values.ingress.enabled }}
48
48
{{- if .Values.ingress.host }}
49
49
{{- 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" }}
51
51
{{- else }}
52
- curl http://{{ .Values.ingress.host }}{{ .Values.config.healthzPrefix }}
52
+ curl http://{{ .Values.ingress.host }}{{ .Values.env.HEALTHZ_PREFIX | default "/healthz" }}
53
53
{{- end }}
54
54
{{- end }}
55
55
{{- else }}
56
56
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" }}
58
58
{{- end }}
59
59
60
60
For more information about STAC Auth Proxy, please visit:
61
61
https://github.com/developmentseed/stac-auth-proxy
62
62
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 ) }}
64
64
WARNING: 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
67
67
{{- 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
70
70
{{- end }}
71
71
{{- end }}
0 commit comments