From de8ae6230b13822b5c55d748d32a0e929c06738a Mon Sep 17 00:00:00 2001 From: Felix Delattre Date: Mon, 7 Jul 2025 11:40:10 +0200 Subject: [PATCH 1/3] Added all other config options to helm chart. --- charts/stac-manager/templates/deployment.yaml | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/charts/stac-manager/templates/deployment.yaml b/charts/stac-manager/templates/deployment.yaml index df8485c..983ee98 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: PRIMARY_COLOR + value: {{ .Values.primaryColor }} + {{ end }} + {{ if .Values.secondaryColor }} + - name: SECONDARY_COLOR + value: {{ .Values.secondaryColor }} + {{ end }} livenessProbe: {{- toYaml .Values.livenessProbe | nindent 12 }} readinessProbe: From 1159644e0af1317e1b7fa71d530ffb790d0b0ea5 Mon Sep 17 00:00:00 2001 From: Felix Delattre Date: Mon, 7 Jul 2025 11:41:54 +0200 Subject: [PATCH 2/3] Bumped version of helm chart to 0.0.11. --- charts/stac-manager/Chart.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. From f0eb1aaf0986e77fa217ef0be6e6ed116223ceb4 Mon Sep 17 00:00:00 2001 From: Felix Delattre Date: Tue, 8 Jul 2025 15:01:39 +0200 Subject: [PATCH 3/3] Renamed color variables. --- charts/stac-manager/templates/deployment.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/stac-manager/templates/deployment.yaml b/charts/stac-manager/templates/deployment.yaml index 983ee98..0db4261 100644 --- a/charts/stac-manager/templates/deployment.yaml +++ b/charts/stac-manager/templates/deployment.yaml @@ -66,11 +66,11 @@ spec: value: {{ .Values.appDescription }} {{ end }} {{ if .Values.primaryColor }} - - name: PRIMARY_COLOR + - name: REACT_APP_THEME_PRIMARY_COLOR value: {{ .Values.primaryColor }} {{ end }} {{ if .Values.secondaryColor }} - - name: SECONDARY_COLOR + - name: REACT_APP_THEME_SECONDARY_COLOR value: {{ .Values.secondaryColor }} {{ end }} livenessProbe: