disable dkregistry
This commit is contained in:
@@ -78,8 +78,8 @@ apps:
|
|||||||
enabled: true
|
enabled: true
|
||||||
namespace: default
|
namespace: default
|
||||||
pvc: data-dkregistry-0
|
pvc: data-dkregistry-0
|
||||||
image: registry:2.8.3
|
image: registry:3
|
||||||
state: present
|
state: absent
|
||||||
|
|
||||||
nextcloud:
|
nextcloud:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
name: auth-secret
|
name: auth-secret
|
||||||
namespace: "{{apps.dkregistry.namespace}}"
|
namespace: "{{apps.dkregistry.namespace}}"
|
||||||
stringData:
|
stringData:
|
||||||
htpassword: "richard:$2y$05$Zp.GEiUbsGYYVOYWE71truuERCAE.D5wwGzU3Xi3wIVAWjH60t/U."
|
htpasswd: "richard:$2y$05$Zp.GEiUbsGYYVOYWE71truuERCAE.D5wwGzU3Xi3wIVAWjH60t/U."
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: create docker-registry resources
|
- name: create docker-registry resources
|
||||||
|
|||||||
@@ -15,16 +15,21 @@ spec:
|
|||||||
# - name: certs-vol
|
# - name: certs-vol
|
||||||
# mountPath: "/certs"
|
# mountPath: "/certs"
|
||||||
# readOnly: true
|
# readOnly: true
|
||||||
- name: auth-vol
|
# - name: auth-vol
|
||||||
|
# mountPath: "/auth"
|
||||||
|
# readOnly: false
|
||||||
|
- name: auth-secret
|
||||||
mountPath: "/auth"
|
mountPath: "/auth"
|
||||||
readOnly: true
|
readOnly: true
|
||||||
env:
|
# env:
|
||||||
- name: REGISTRY_AUTH
|
# - name: REGISTRY_AUTH
|
||||||
value: "htpasswd"
|
# value: "htpasswd"
|
||||||
- name: REGISTRY_AUTH_HTPASSWD_REALM
|
# - name: REGISTRY_AUTH_HTPASSWD_REALM
|
||||||
value: "Registry Realm"
|
# value: "Registry Realm"
|
||||||
- name: REGISTRY_AUTH_HTPASSWD_PATH
|
# - name: REGISTRY_AUTH_HTPASSWD_PATH
|
||||||
value: "/auth/htpasswd"
|
# value: "/auth/htpasswd"
|
||||||
|
# - name: REGISTRY_HTTP_SECRET
|
||||||
|
# value: "/auth/htpasswd"
|
||||||
# - name: REGISTRY_HTTP_TLS_CERTIFICATE
|
# - name: REGISTRY_HTTP_TLS_CERTIFICATE
|
||||||
# value: "/certs/tls.crt"
|
# value: "/certs/tls.crt"
|
||||||
# - name: REGISTRY_HTTP_TLS_KEY
|
# - name: REGISTRY_HTTP_TLS_KEY
|
||||||
@@ -33,9 +38,10 @@ spec:
|
|||||||
- name: repo-vol
|
- name: repo-vol
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: data-dkregistry-0
|
claimName: data-dkregistry-0
|
||||||
# - name: certs-vol
|
|
||||||
# secret:
|
|
||||||
# secretName: default/xai-corp-production-tls
|
|
||||||
- name: auth-vol
|
- name: auth-vol
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: data-dkregistry-auth-0
|
claimName: data-dkregistry-auth-0
|
||||||
|
|
||||||
|
- name: auth-secret
|
||||||
|
secret:
|
||||||
|
secretName: auth-secret
|
||||||
|
|||||||
Reference in New Issue
Block a user