Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Added documentation for cloud-native bucket access [#364](https://github.com/developmentseed/eoapi-k8s/pull/364)
- Removed unused testing variable and unused deploy script [#369](https://github.com/developmentseed/eoapi-k8s/pull/369)
- Added auth support to STAC Browser [#376](https://github.com/developmentseed/eoapi-k8s/pull/376)

### Added

Expand Down
15 changes: 13 additions & 2 deletions charts/eoapi/templates/services/browser/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
app: {{ .Release.Name }}-browser
gitsha: {{ .Values.gitSha }}
spec:
replicas: {{.Values.browser.replicaCount}}
replicas: {{ .Values.browser.replicaCount }}
selector:
matchLabels:
app: {{ .Release.Name }}-browser
Expand All @@ -23,5 +23,16 @@ spec:
- containerPort: 8080
env:
- name: SB_catalogUrl
value: "{{ .Values.stac.ingress.path }}"
value: "http://{{ .Values.ingress.host }}{{ .Values.stac.ingress.path }}"
{{- if index .Values "stac-auth-proxy" "enabled" }}
- name: SB_authConfig
value: |
{
"type": "openIdConnect",
"openIdConnectUrl": "http://{{ .Values.ingress.host }}{{ .Values.mockOidcServer.ingress.path }}/.well-known/openid-configuration",
"oidcOptions": {
"client_id": "{{ .Values.browser.oidcClientId | default "test-client" }}"
}
}
{{- end }}
{{- end }}
1 change: 1 addition & 0 deletions charts/eoapi/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,7 @@ browser:
tag: 3.3.4
ingress:
enabled: true # Control ingress specifically for browser service
oidcClientId: "some-client-id"

docServer:
enabled: true
Expand Down