-
Task
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
False
-
-
False
-
-
Context:
RHDH Helm Chart inherits upstream Backstage Helm Chart fields.
In particular in user's values.yaml user can configure:
upstream: backstage: extraEnvVars: extraVolumeMounts: extraVolumes:
and other fields which contain array.
To address the issue of Helm not merging arrays by default, you need to duplicate the predefined values from the RHDH Helm Chart's values.yaml into your own values.yaml file. This ensures that the predefined values are preserved while adding new values.
Instructions (as for version 1.5.0 and earlier):
To add new values to:
upstream: backstage: extraVolumeMounts:
First copy and paste the following content:
extraVolumeMounts: - name: dynamic-plugins-root mountPath: /opt/app-root/src/dynamic-plugins-root - name: temp mountPath: /tmp
To add new values to:
upstream: backstage: extraVolumes:
First copy and paste the following content:
extraVolumes: initContainer below at start. - name: dynamic-plugins-root ephemeral: volumeClaimTemplate: spec: accessModes: - ReadWriteOnce resources: requests: storage: 5Gi
To add new values to:
upstream: backstage: extraEnvVars:
First copy and paste the following content:
extraEnvVars: - name: BACKEND_SECRET valueFrom: secretKeyRef: key: backend-secret name: '{{ include "janus-idp.backend-secret-name" $ }}' - name: POSTGRESQL_ADMIN_PASSWORD valueFrom: secretKeyRef: key: postgres-password name: '{{- include "janus-idp.postgresql.secretName" . }}'
- is related to
-
RHIDP-6082 [Spike][Helm] Investigate how to support merging of `extra*` fields from the upstream Backstage Chart
-
- Refinement
-