fix(helm chart): root is read-only so mount volume to specific directory (#3458)
* fix(helm chart): mount correct path * fix(helm chart): root is read-only so mount volume to specific directory
This commit is contained in:
@@ -1063,6 +1063,6 @@ Generate the environment variables for Speckle server and Speckle objects deploy
|
||||
{{- end }}
|
||||
{{- if .Values.featureFlags.workspacesMultiRegionEnabled }}
|
||||
- name: MULTI_REGION_CONFIG_PATH
|
||||
value: {{ (printf "/%s" .Values.multiRegion.config.secretKey) | quote}}
|
||||
value: "/multi-region-config/multi-region-config.json"
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -65,7 +65,7 @@ spec:
|
||||
{{- end }}
|
||||
{{- if .Values.featureFlags.workspacesMultiRegionEnabled }}
|
||||
- name: multi-region-config
|
||||
mountPath: /
|
||||
mountPath: /multi-region-config
|
||||
readOnly: true
|
||||
{{- end }}
|
||||
|
||||
@@ -98,7 +98,7 @@ spec:
|
||||
- name: FF_WORKSPACES_MULTI_REGION_ENABLED
|
||||
value: {{ .Values.featureFlags.workspacesMultiRegionEnabled | quote }}
|
||||
- name: MULTI_REGION_CONFIG_PATH
|
||||
value: {{ (printf "/%s" .Values.multiRegion.config.secretKey) | quote}}
|
||||
value: "/multi-region-config/multi-region-config.json"
|
||||
{{- end }}
|
||||
{{- if .Values.fileimport_service.affinity }}
|
||||
affinity: {{- include "speckle.renderTpl" (dict "value" .Values.fileimport_service.affinity "context" $) | nindent 8 }}
|
||||
@@ -141,6 +141,6 @@ spec:
|
||||
secretName: {{ .Values.multiRegion.config.secretName }}
|
||||
items:
|
||||
- key: {{ .Values.multiRegion.config.secretKey }}
|
||||
path: "."
|
||||
path: "multi-region-config.json"
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
@@ -53,7 +53,7 @@ spec:
|
||||
{{- end }}
|
||||
{{- if .Values.featureFlags.workspacesMultiRegionEnabled }}
|
||||
- name: multi-region-config
|
||||
mountPath: /
|
||||
mountPath: /multi-region-config
|
||||
readOnly: true
|
||||
{{- end }}
|
||||
|
||||
@@ -72,7 +72,7 @@ spec:
|
||||
- name: FF_WORKSPACES_MULTI_REGION_ENABLED
|
||||
value: {{ .Values.featureFlags.workspacesMultiRegionEnabled | quote }}
|
||||
- name: MULTI_REGION_CONFIG_PATH
|
||||
value: {{ (printf "/%s" .Values.multiRegion.config.secretKey) | quote}}
|
||||
value: "/multi-region-config/multi-region-config.json"
|
||||
{{- end }}
|
||||
|
||||
- name: LOG_LEVEL
|
||||
@@ -106,7 +106,7 @@ spec:
|
||||
secretName: {{ .Values.multiRegion.config.secretName }}
|
||||
items:
|
||||
- key: {{ .Values.multiRegion.config.secretKey }}
|
||||
path: "."
|
||||
path: "multi-region-config.json"
|
||||
{{- end }}
|
||||
|
||||
{{- if .Values.monitoring.affinity }}
|
||||
|
||||
@@ -148,5 +148,5 @@ spec:
|
||||
secretName: {{ .Values.multiRegion.config.secretName }}
|
||||
items:
|
||||
- key: {{ .Values.multiRegion.config.secretKey }}
|
||||
path: "."
|
||||
path: "multi-region-config.json"
|
||||
{{- end }}
|
||||
|
||||
@@ -62,7 +62,7 @@ spec:
|
||||
{{- end }}
|
||||
{{- if .Values.featureFlags.workspacesMultiRegionEnabled }}
|
||||
- name: multi-region-config
|
||||
mountPath: /
|
||||
mountPath: /multi-region-config
|
||||
readOnly: true
|
||||
{{- end }}
|
||||
|
||||
@@ -106,7 +106,7 @@ spec:
|
||||
- name: FF_WORKSPACES_MULTI_REGION_ENABLED
|
||||
value: {{ .Values.featureFlags.workspacesMultiRegionEnabled | quote }}
|
||||
- name: MULTI_REGION_CONFIG_PATH
|
||||
value: {{ (printf "/%s" .Values.multiRegion.config.secretKey) | quote}}
|
||||
value: "/multi-region-config/multi-region-config.json"
|
||||
{{- end }}
|
||||
|
||||
{{- if .Values.preview_service.affinity }}
|
||||
@@ -150,5 +150,5 @@ spec:
|
||||
secretName: {{ .Values.multiRegion.config.secretName }}
|
||||
items:
|
||||
- key: {{ .Values.multiRegion.config.secretKey }}
|
||||
path: "."
|
||||
path: "multi-region-config.json"
|
||||
{{- end }}
|
||||
|
||||
@@ -64,7 +64,7 @@ spec:
|
||||
{{- end }}
|
||||
{{- if .Values.featureFlags.workspacesMultiRegionEnabled }}
|
||||
- name: multi-region-config
|
||||
mountPath: /
|
||||
mountPath: /multi-region-config
|
||||
readOnly: true
|
||||
{{- end }}
|
||||
|
||||
@@ -148,5 +148,5 @@ spec:
|
||||
secretName: {{ .Values.multiRegion.config.secretName }}
|
||||
items:
|
||||
- key: {{ .Values.multiRegion.config.secretKey }}
|
||||
path: "."
|
||||
path: "multi-region-config.json"
|
||||
{{- end }}
|
||||
|
||||
@@ -64,7 +64,7 @@ spec:
|
||||
{{- end }}
|
||||
{{- if .Values.featureFlags.workspacesMultiRegionEnabled }}
|
||||
- name: multi-region-config
|
||||
mountPath: /
|
||||
mountPath: /multi-region-config
|
||||
readOnly: true
|
||||
{{- end }}
|
||||
|
||||
@@ -88,7 +88,7 @@ spec:
|
||||
- name: FF_WORKSPACES_MULTI_REGION_ENABLED
|
||||
value: {{ .Values.featureFlags.workspacesMultiRegionEnabled | quote }}
|
||||
- name: MULTI_REGION_CONFIG_PATH
|
||||
value: {{ (printf "/%s" .Values.multiRegion.config.secretKey) | quote}}
|
||||
value: "/multi-region-config/multi-region-config.json"
|
||||
{{- end }}
|
||||
|
||||
{{- if .Values.webhook_service.affinity }}
|
||||
@@ -135,5 +135,5 @@ spec:
|
||||
secretName: {{ .Values.multiRegion.config.secretName }}
|
||||
items:
|
||||
- key: {{ .Values.multiRegion.config.secretKey }}
|
||||
path: "."
|
||||
path: "multi-region-config.json"
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user