zot: fix htpasswd volume to avoid type conflict

This commit is contained in:
Brad Stein 2025-12-15 13:00:51 -03:00
parent b87f06f6ff
commit 0416493f49

View File

@ -45,7 +45,7 @@ spec:
mountPath: /etc/zot/config.json mountPath: /etc/zot/config.json
subPath: config.json subPath: config.json
readOnly: true readOnly: true
- name: htpasswd - name: htpasswd-merged
mountPath: /etc/zot/htpasswd mountPath: /etc/zot/htpasswd
subPath: htpasswd subPath: htpasswd
- name: zot-data - name: zot-data
@ -85,7 +85,7 @@ spec:
- name: htpasswd-source - name: htpasswd-source
mountPath: /src mountPath: /src
readOnly: true readOnly: true
- name: htpasswd - name: htpasswd-merged
mountPath: /merged mountPath: /merged
volumes: volumes:
- name: cfg - name: cfg
@ -95,7 +95,7 @@ spec:
secret: secret:
secretName: zot-htpasswd secretName: zot-htpasswd
optional: true optional: true
- name: htpasswd - name: htpasswd-merged
emptyDir: {} emptyDir: {}
- name: zot-data - name: zot-data
persistentVolumeClaim: persistentVolumeClaim: