diff --git a/examples/longhorn/values.yaml b/examples/longhorn/values.yaml index 3f4b5a46f5..2398307d6a 100644 --- a/examples/longhorn/values.yaml +++ b/examples/longhorn/values.yaml @@ -98,7 +98,7 @@ persistence: removeSnapshotsDuringFilesystemTrim: ignored # "enabled" or "disabled" otherwise csi: - kubeletRootDir: "/var/lib/kubelet" + kubeletRootDir: "/var/lib/kubelet" attacherReplicaCount: ~ provisionerReplicaCount: ~ resizerReplicaCount: ~ diff --git a/packages/zarf-registry/chart/templates/deployment.yaml b/packages/zarf-registry/chart/templates/deployment.yaml index f899f10c04..ab3a0c0562 100644 --- a/packages/zarf-registry/chart/templates/deployment.yaml +++ b/packages/zarf-registry/chart/templates/deployment.yaml @@ -73,10 +73,8 @@ spec: {{ toYaml . | indent 12 }} {{- end }} volumeMounts: -{{- if .Values.persistence.enabled }} - name: data mountPath: /var/lib/registry/ -{{- end }} - name: config mountPath: "/etc/docker/registry" affinity: @@ -108,4 +106,8 @@ spec: - name: data persistentVolumeClaim: claimName: {{ if .Values.persistence.existingClaim }}{{ .Values.persistence.existingClaim }}{{- else }}{{ template "docker-registry.fullname" . }}{{- end }} +{{- else }} + - name: data + emptyDir: + sizeLimit: {{ .Values.persistence.size }} {{- end }}