Skip to content

Commit c2d923e

Browse files
authored
Add all other config options to helm chart. (#60)
* Added all other config options to helm chart. * Bumped version of helm chart to 0.0.11. * Renamed color variables.
1 parent 543283d commit c2d923e

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-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.10"
11+
version: "0.0.11"
1212
sources:
1313
- https://github.com/developmentseed/stac-manager
1414

1515
type: application
16-
appVersion: "0.0.10"
16+
appVersion: "0.0.11"
1717

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

charts/stac-manager/templates/deployment.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ spec:
4545
value: {{ .Values.stacApi | required "Please provide a value for stacApi" }}
4646
- name: PUBLIC_URL
4747
value: {{ .Values.publicUrl | required "Please provide a value for publicUrl" }}
48+
{{ if .Values.stacBrowser }}
49+
- name: REACT_APP_STAC_BROWSER
50+
value: {{ .Values.stacBrowser }}
51+
{{ end }}
4852
{{ if .Values.oidc }}
4953
- name: REACT_APP_KEYCLOAK_URL
5054
value: {{ .Values.oidc.providerUrl | required "Please provide a value for oidc.providerUrl" }}
@@ -53,6 +57,22 @@ spec:
5357
- name: REACT_APP_KEYCLOAK_REALM
5458
value: {{ .Values.oidc.realm | required "Please provide a value for oidc.realm" }}
5559
{{ end }}
60+
{{ if .Values.appTitle }}
61+
- name: APP_TITLE
62+
value: {{ .Values.appTitle }}
63+
{{ end }}
64+
{{ if .Values.appDescription }}
65+
- name: APP_DESCRIPTION
66+
value: {{ .Values.appDescription }}
67+
{{ end }}
68+
{{ if .Values.primaryColor }}
69+
- name: REACT_APP_THEME_PRIMARY_COLOR
70+
value: {{ .Values.primaryColor }}
71+
{{ end }}
72+
{{ if .Values.secondaryColor }}
73+
- name: REACT_APP_THEME_SECONDARY_COLOR
74+
value: {{ .Values.secondaryColor }}
75+
{{ end }}
5676
livenessProbe:
5777
{{- toYaml .Values.livenessProbe | nindent 12 }}
5878
readinessProbe:

0 commit comments

Comments
 (0)