Skip to content

Commit ef14c1e

Browse files
committed
Actually use emptydir mount when persistence is disabled
In zarf-dev#2124, an emptydir was mounted when `persistence.enabled: false` is set. However, this is not enough to make registry work: it crashloops as in issue zarf-dev#1998. This is fixed by setting the env variable specifying storage config even if persistence is disabled.
1 parent 5943cea commit ef14c1e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/zarf-registry/chart/templates/deployment.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,8 @@ spec:
7171
value: "Registry Realm"
7272
- name: REGISTRY_AUTH_HTPASSWD_PATH
7373
value: "/etc/docker/registry/htpasswd"
74-
{{- if .Values.persistence.enabled }}
7574
- name: REGISTRY_STORAGE_FILESYSTEM_ROOTDIRECTORY
7675
value: "/var/lib/registry"
77-
{{- end }}
7876
{{- if .Values.persistence.deleteEnabled }}
7977
- name: REGISTRY_STORAGE_DELETE_ENABLED
8078
value: "true"

0 commit comments

Comments
 (0)