Skip to content

Commit 455c916

Browse files
committed
Added env variables to helm chart.
1 parent d42e5ea commit 455c916

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

charts/stac-manager/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ apiVersion: v2
88

99
name: stac-manager
1010
description: Helm chart deployment for web application to update collection and item meta data in STAC catalogs
11-
version: "0.0.4"
11+
version: "0.0.5"
1212
sources:
1313
- https://github.com/developmentseed/stac-manager
1414

1515
type: application
16-
appVersion: "0.0.4"
16+
appVersion: "0.0.5"
1717

1818
maintainers:
1919
- name: Development Seed. All Rights Reserved.

charts/stac-manager/templates/deployment.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,13 @@ spec:
4040
- name: http
4141
containerPort: {{ .Values.service.port }}
4242
protocol: TCP
43+
env:
44+
- name: REACT_APP_STAC_API
45+
value: {{ .Values.stacApi | required "Please provide a value for stacApi" }}
46+
{{ if .Values.publicUrl }}
47+
- name: PUBLIC_URL
48+
value: {{ .Values.publicUrl | required "Please provide a value for publicUrl" }}
49+
{{ end }}
4350
livenessProbe:
4451
{{- toYaml .Values.livenessProbe | nindent 12 }}
4552
readinessProbe:

0 commit comments

Comments
 (0)