File tree Expand file tree Collapse file tree 3 files changed +15
-2
lines changed
templates/services/browser Expand file tree Collapse file tree 3 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
1010- Added documentation for cloud-native bucket access [ #364 ] ( https://github.com/developmentseed/eoapi-k8s/pull/364 )
1111- Removed unused testing variable and unused deploy script [ #369 ] ( https://github.com/developmentseed/eoapi-k8s/pull/369 )
12+ - Added auth support to STAC Browser [ #376 ] ( https://github.com/developmentseed/eoapi-k8s/pull/376 )
1213
1314### Added
1415
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ metadata:
77 app : {{ .Release.Name }}-browser
88 gitsha : {{ .Values.gitSha }}
99spec :
10- replicas : {{.Values.browser.replicaCount}}
10+ replicas : {{ .Values.browser.replicaCount }}
1111 selector :
1212 matchLabels :
1313 app : {{ .Release.Name }}-browser
2323 - containerPort : 8080
2424 env :
2525 - name : SB_catalogUrl
26- value : " {{ .Values.stac.ingress.path }}"
26+ value : " http://{{ .Values.ingress.host }}{{ .Values.stac.ingress.path }}"
27+ {{- if index .Values "stac-auth-proxy" "enabled" }}
28+ - name : SB_authConfig
29+ value : |
30+ {
31+ "type": "openIdConnect",
32+ "openIdConnectUrl": "http://{{ .Values.ingress.host }}{{ .Values.mockOidcServer.ingress.path }}/.well-known/openid-configuration",
33+ "oidcOptions": {
34+ "client_id": "{{ .Values.browser.oidcClientId | default "test-client" }}"
35+ }
36+ }
37+ {{- end }}
2738{{- end }}
Original file line number Diff line number Diff line change @@ -488,6 +488,7 @@ browser:
488488 tag : 3.3.4
489489 ingress :
490490 enabled : true # Control ingress specifically for browser service
491+ oidcClientId : " some-client-id"
491492
492493docServer :
493494 enabled : true
You can’t perform that action at this time.
0 commit comments