diff --git a/charts/stac-manager/Chart.yaml b/charts/stac-manager/Chart.yaml index ad28ad5..10ccb56 100644 --- a/charts/stac-manager/Chart.yaml +++ b/charts/stac-manager/Chart.yaml @@ -8,12 +8,12 @@ apiVersion: v2 name: stac-manager description: Helm chart deployment for web application to update collection and item meta data in STAC catalogs -version: "0.0.10" +version: "0.0.11" sources: - https://github.com/developmentseed/stac-manager type: application -appVersion: "0.0.10" +appVersion: "0.0.11" maintainers: - name: Development Seed. All Rights Reserved. diff --git a/charts/stac-manager/templates/deployment.yaml b/charts/stac-manager/templates/deployment.yaml index df8485c..0db4261 100644 --- a/charts/stac-manager/templates/deployment.yaml +++ b/charts/stac-manager/templates/deployment.yaml @@ -45,6 +45,10 @@ spec: value: {{ .Values.stacApi | required "Please provide a value for stacApi" }} - name: PUBLIC_URL value: {{ .Values.publicUrl | required "Please provide a value for publicUrl" }} + {{ if .Values.stacBrowser }} + - name: REACT_APP_STAC_BROWSER + value: {{ .Values.stacBrowser }} + {{ end }} {{ if .Values.oidc }} - name: REACT_APP_KEYCLOAK_URL value: {{ .Values.oidc.providerUrl | required "Please provide a value for oidc.providerUrl" }} @@ -53,6 +57,22 @@ spec: - name: REACT_APP_KEYCLOAK_REALM value: {{ .Values.oidc.realm | required "Please provide a value for oidc.realm" }} {{ end }} + {{ if .Values.appTitle }} + - name: APP_TITLE + value: {{ .Values.appTitle }} + {{ end }} + {{ if .Values.appDescription }} + - name: APP_DESCRIPTION + value: {{ .Values.appDescription }} + {{ end }} + {{ if .Values.primaryColor }} + - name: REACT_APP_THEME_PRIMARY_COLOR + value: {{ .Values.primaryColor }} + {{ end }} + {{ if .Values.secondaryColor }} + - name: REACT_APP_THEME_SECONDARY_COLOR + value: {{ .Values.secondaryColor }} + {{ end }} livenessProbe: {{- toYaml .Values.livenessProbe | nindent 12 }} readinessProbe: