Skip to content

Commit 1f0e004

Browse files
committed
ci(helm): add extra volumes to ui deployment yaml
1 parent bb6666e commit 1f0e004

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

deploy/charts/observability-app/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: dataops-observability-app
33
type: application
44
appVersion: "2.x.x"
5-
version: "2.2.2"
5+
version: "2.2.3"
66

77
description: DataOps Observability
88
home: https://datakitchen.io

deploy/charts/observability-app/templates/observability-ui.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ spec:
6666
- name: OBSERVABILITY_CSP_EXTRA
6767
value: {{ tpl .Values.observability_ui.csp_extra . | quote }}
6868
{{- end }}
69-
{{- if or .Values.observability_ui.environmentJson .Values.observability_ui.manifestJson }}
69+
{{- if or .Values.observability_ui.environmentJson .Values.observability_ui.manifestJson .Values.extraVolumeMounts }}
7070
volumeMounts:
7171
{{- if .Values.observability_ui.environmentJson }}
7272
- mountPath: /observability_ui/shell/environments/environment.json
@@ -80,7 +80,14 @@ spec:
8080
readOnly: true
8181
subPath: module-federation.manifest.json
8282
{{- end }}
83+
{{- with .Values.extraVolumeMounts }}
84+
{{ toYaml . | nindent 12 }}
85+
{{- end }}
8386
{{- end }}
87+
{{- with .Values.extraVolumes }}
88+
volumes:
89+
{{ toYaml . | nindent 8 }}
90+
{{- end }}
8491
{{- with .Values.observability_ui.nodeSelector }}
8592
nodeSelector:
8693
{{- toYaml . | nindent 8 }}

0 commit comments

Comments
 (0)