mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
[bitnami/pytorch] Fix persistence path
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
name: pytorch
|
name: pytorch
|
||||||
version: 1.1.0
|
version: 1.1.1
|
||||||
appVersion: 1.1.0
|
appVersion: 1.1.0
|
||||||
description: Deep learning platform that accelerates the transition from research prototyping to production deployment
|
description: Deep learning platform that accelerates the transition from research prototyping to production deployment
|
||||||
keywords:
|
keywords:
|
||||||
|
|||||||
@@ -59,13 +59,13 @@ spec:
|
|||||||
- name: volume-permissions
|
- name: volume-permissions
|
||||||
image: "{{ template "pytorch.volumePermissions.image" . }}"
|
image: "{{ template "pytorch.volumePermissions.image" . }}"
|
||||||
imagePullPolicy: {{ default "" .Values.volumePermissions.image.pullPolicy | quote }}
|
imagePullPolicy: {{ default "" .Values.volumePermissions.image.pullPolicy | quote }}
|
||||||
command: ["chown", "-R", "{{ .Values.securityContext.runAsUser }}:{{ .Values.securityContext.fsGroup }}", "{{ .Values.persistence.path }}"]
|
command: ["chown", "-R", "{{ .Values.securityContext.runAsUser }}:{{ .Values.securityContext.fsGroup }}", "{{ .Values.persistence.mountPath }}"]
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
resources: {{ toYaml .Values.volumePermissions.resources | nindent 10 }}
|
resources: {{ toYaml .Values.volumePermissions.resources | nindent 10 }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: {{ .Values.persistence.path }}
|
mountPath: {{ .Values.persistence.mountPath }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: master
|
- name: master
|
||||||
|
|||||||
@@ -59,13 +59,13 @@ spec:
|
|||||||
- name: volume-permissions
|
- name: volume-permissions
|
||||||
image: "{{ template "pytorch.volumePermissions.image" . }}"
|
image: "{{ template "pytorch.volumePermissions.image" . }}"
|
||||||
imagePullPolicy: {{ default "" .Values.volumePermissions.image.pullPolicy | quote }}
|
imagePullPolicy: {{ default "" .Values.volumePermissions.image.pullPolicy | quote }}
|
||||||
command: ["chown", "-R", "{{ .Values.securityContext.runAsUser }}:{{ .Values.securityContext.fsGroup }}", "{{ .Values.persistence.path }}"]
|
command: ["chown", "-R", "{{ .Values.securityContext.runAsUser }}:{{ .Values.securityContext.fsGroup }}", "{{ .Values.persistence.mountPath }}"]
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
resources: {{ toYaml .Values.volumePermissions.resources | nindent 10 }}
|
resources: {{ toYaml .Values.volumePermissions.resources | nindent 10 }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: {{ .Values.persistence.path }}
|
mountPath: {{ .Values.persistence.mountPath }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: worker
|
- name: worker
|
||||||
|
|||||||
Reference in New Issue
Block a user