Skip to content

Expose all config options in Helm chart #53

@j08lue

Description

@j08lue

The (client) application configuration has a couple more options than are currently exposed in the Helm chart values

env:
- name: REACT_APP_STAC_API
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.oidc }}
- name: REACT_APP_KEYCLOAK_URL
value: {{ .Values.oidc.providerUrl | required "Please provide a value for oidc.providerUrl" }}
- name: REACT_APP_KEYCLOAK_CLIENT_ID
value: {{ .Values.oidc.clientId | required "Please provide a value for oidc.clientId" }}
- name: REACT_APP_KEYCLOAK_REALM
value: {{ .Values.oidc.realm | required "Please provide a value for oidc.realm" }}

in particular the theme customisation:

# =================
# Theme Customization
# =================
# Primary color for the application theme (hex color code)
# Default: #6A5ACD (SlateBlue)
# REACT_APP_THEME_PRIMARY_COLOR='#6A5ACD'
# Secondary color for the application theme (hex color code)
# Default: #048A81 (Teal)
# REACT_APP_THEME_SECONDARY_COLOR='#048A81'

and the app title

# The title of the application shown in browser tab and headers
APP_TITLE=STAC Manager
# A brief description of the application for metadata purposes
APP_DESCRIPTION=Plugin based STAC editor

Can we expose these options in the Helm chart as well? Or is there a different, direct way for users of the Helm chart to pass these environment variables (than via Helm values proxies)?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions