diff --git a/charts/yolo-registry/templates/deployment.yaml b/charts/yolo-registry/templates/deployment.yaml index a7a43093..88da5be2 100644 --- a/charts/yolo-registry/templates/deployment.yaml +++ b/charts/yolo-registry/templates/deployment.yaml @@ -52,7 +52,7 @@ spec: {{- toYaml .Values.resources | nindent 12 }} volumeMounts: - name: data - mountPath: /data + mountPath: /var/lib/registry {{- if .Values.init.enabled }} initContainers: - name: init @@ -60,7 +60,7 @@ spec: command: {{- toYaml .Values.init.command | nindent 10 }} volumeMounts: - name: data - mountPath: /data + mountPath: /var/lib/registry {{- end }} volumes: - name: data