disable dkregistry

This commit is contained in:
2025-09-17 21:26:34 -04:00
parent d14be2c3ae
commit 373b3fad7d
3 changed files with 20 additions and 14 deletions

View File

@@ -15,16 +15,21 @@ spec:
# - name: certs-vol
# mountPath: "/certs"
# readOnly: true
- name: auth-vol
# - name: auth-vol
# mountPath: "/auth"
# readOnly: false
- name: auth-secret
mountPath: "/auth"
readOnly: true
env:
- name: REGISTRY_AUTH
value: "htpasswd"
- name: REGISTRY_AUTH_HTPASSWD_REALM
value: "Registry Realm"
- name: REGISTRY_AUTH_HTPASSWD_PATH
value: "/auth/htpasswd"
# env:
# - name: REGISTRY_AUTH
# value: "htpasswd"
# - name: REGISTRY_AUTH_HTPASSWD_REALM
# value: "Registry Realm"
# - name: REGISTRY_AUTH_HTPASSWD_PATH
# value: "/auth/htpasswd"
# - name: REGISTRY_HTTP_SECRET
# value: "/auth/htpasswd"
# - name: REGISTRY_HTTP_TLS_CERTIFICATE
# value: "/certs/tls.crt"
# - name: REGISTRY_HTTP_TLS_KEY
@@ -33,9 +38,10 @@ spec:
- name: repo-vol
persistentVolumeClaim:
claimName: data-dkregistry-0
# - name: certs-vol
# secret:
# secretName: default/xai-corp-production-tls
- name: auth-vol
persistentVolumeClaim:
claimName: data-dkregistry-auth-0
- name: auth-secret
secret:
secretName: auth-secret