You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{- if or .Values.global.appConfigFilesEnabled .Values.global.additionalVolumesEnabled .Values.global.eso.enabled .Values.global.certificate.enabled }}
194
+
{{- if or .Values.global.persistentVolumes .Values.global.appConfigFilesEnabled .Values.global.additionalVolumesEnabled .Values.global.eso.enabled .Values.global.certificate.enabled }}
195
195
volumeMounts:
196
+
{{- range .Values.global.persistentVolumes }}
197
+
- mountPath: {{ .mountPath }}
198
+
name: pvc-{{ .name }}
199
+
{{- end }}
196
200
{{- if .Values.global.eso.enabled }}
197
201
- mountPath: /var/run/secrets/app
198
202
name: app-secrets-vol
@@ -272,6 +276,11 @@ spec:
272
276
{{- end }}
273
277
{{- end }}
274
278
volumes:
279
+
{{- range .Values.global.persistentVolumes }}
280
+
- name: pvc-{{ .name }}
281
+
persistentVolumeClaim:
282
+
claimName: {{ include "charts-dotnet-core.fullname" $ }}-{{ .name }}-pvc
Copy file name to clipboardExpand all lines: charts/dotnet-core/values.yaml
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -322,3 +322,15 @@ global:
322
322
# Set to empty string "" to enable for all environments
323
323
# Can be comma-separated: "Develop,ReleaseCandidate,Hotfix"
324
324
environments: "#{reloader_envs}#"
325
+
326
+
# Setting to enable or disable creation of Persistent Volume Claims
327
+
# Each entry creates a separate PVC and a corresponding volume mount in the deployment.
328
+
# persistentVolumes:
329
+
# - name: data # required – used as the volume/mount name suffix and PVC name suffix
330
+
# mountPath: /mnt/data # required – path inside the container
331
+
# accessMode: ReadWriteMany
332
+
# storageClassName: azurefile-csi
333
+
# size: 1Gi
334
+
persistentVolumes: []
335
+
336
+
persistentVolumesSkuName: Standard_LRS # default sku name for azure file, used when storageClassName is not specified in persistentVolumes configuration
{{- if or .Values.global.appConfigFilesEnabled .Values.global.additionalVolumesEnabled }}
101
+
{{- if or .Values.global.persistentVolumes .Values.global.appConfigFilesEnabled .Values.global.additionalVolumesEnabled .Values.global.monitoring.metrics.enabled }}
102
102
volumeMounts:
103
+
{{- range .Values.global.persistentVolumes }}
104
+
- mountPath: {{ .mountPath }}
105
+
name: pvc-{{ .name }}
106
+
{{- end }}
103
107
{{- if .Values.global.monitoring.metrics.enabled }}
Copy file name to clipboardExpand all lines: charts/event-worker/values.yaml
+13-1Lines changed: 13 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -183,4 +183,16 @@ global:
183
183
topicName: # Optional. ServiceBus Topic name
184
184
subscriptionName: # Optional. Required if topic is specified. ServiceBus Subscripion name
185
185
messageCount: 5# Optional. Count of messages to trigger scaling out: 1 -> N. Default: 5 messages
186
-
activationMessageCount: # Target value for activating the scaler: 0 -> 1. Default: 0
186
+
activationMessageCount: # Target value for activating the scaler: 0 -> 1. Default: 0
187
+
188
+
# Setting to enable or disable creation of Persistent Volume Claims
189
+
# Each entry creates a separate PVC and a corresponding volume mount in the deployment.
190
+
# persistentVolumes:
191
+
# - name: data # required – used as the volume/mount name suffix and PVC name suffix
192
+
# mountPath: /mnt/data # required – path inside the container
193
+
# accessMode: ReadWriteMany
194
+
# storageClassName: azurefile-csi
195
+
# size: 1Gi
196
+
persistentVolumes: []
197
+
198
+
persistentVolumesSkuName: Standard_LRS # default sku name for azure file, used when storageClassName is not specified in persistentVolumes configuration
0 commit comments