Skip to content

Commit c4f99cc

Browse files
committed
helm: change mount to config
1 parent 563a400 commit c4f99cc

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

chart/templates/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ spec:
144144
{{- end }}
145145
env:
146146
- name: INTERSECT_SERVICE_CONFIG
147-
value: {{ .Values.intersectConfig.filename | default "/app/config.yaml" | quote }}
147+
value: {{ .Values.intersectConfig.filename | default "/config/config.yaml" | quote }}
148148
{{- if .Values.dashboardService.extraEnvVars }}
149149
{{- include "common.tplvalues.render" (dict "value" .Values.dashboardService.extraEnvVars "context" $) | nindent 12 }}
150150
{{- end }}
@@ -176,7 +176,7 @@ spec:
176176
{{- end }}
177177
volumeMounts:
178178
- name: intersect-config
179-
mountPath: /app/
179+
mountPath: /config/
180180
- name: shared-volume
181181
mountPath: {{ .Values.volumeMount.dashboardServicePath | quote }}
182182
{{- if .Values.dashboardService.extraVolumeMounts }}

chart/values.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ podSecurityContext:
2222
containerSecurityContext:
2323
enabled: false
2424
runAsUser: 1001
25+
runAsGroup: 1001
2526
runAsNonRoot: true
2627
readOnlyRootFilesystem: false
2728

@@ -111,13 +112,13 @@ dashboard:
111112

112113
extraVolumeMounts:
113114
- name: bragg-volume
114-
mountPath: /usr/src/dashboard/bragg_volume
115+
mountPath: /app/bragg_volume
115116
- name: transition-volume
116-
mountPath: /usr/src/dashboard/transition_volume
117+
mountPath: /app/transition_volume
117118
- name: andie-volume
118-
mountPath: /usr/src/dashboard/andie_volume
119+
mountPath: /app/andie_volume
119120
- name: scientist-cloud-volume
120-
mountPath: /usr/src/dashboard/scientist_cloud_volume
121+
mountPath: /app/scientist_cloud_volume
121122

122123
# TODO figure out halfway decent probes
123124

@@ -254,13 +255,13 @@ dashboardService:
254255

255256
extraVolumeMounts:
256257
- name: bragg-volume
257-
mountPath: /usr/src/dashboard_service/bragg_volume
258+
mountPath: /app/bragg_volume
258259
- name: transition-volume
259-
mountPath: /usr/src/dashboard_service/transition_volume
260+
mountPath: /app/transition_volume
260261
- name: andie-volume
261-
mountPath: /usr/src/dashboard_service/andie_volume
262+
mountPath: /app/andie_volume
262263
- name: scientist-cloud-volume
263-
mountPath: /usr/src/dashboard_service/scientist_cloud_volume
264+
mountPath: /app/scientist_cloud_volume
264265

265266
### Kubernetes role stuff
266267

0 commit comments

Comments
 (0)