fix(docker-registry): configMapGenerator reference isn't being updated
This commit is contained in:
parent
624bbf54c6
commit
2d33f4b575
4 changed files with 10 additions and 6 deletions
|
|
@ -62,7 +62,7 @@ spec:
|
|||
name: docker-registry-secret
|
||||
key: proxyPassword
|
||||
volumeMounts:
|
||||
- name: "docker-registry-config"
|
||||
- name: config
|
||||
mountPath: "/etc/docker/registry"
|
||||
- name: auth
|
||||
mountPath: /auth
|
||||
|
|
@ -71,7 +71,7 @@ spec:
|
|||
mountPath: /var/lib/registry/
|
||||
restartPolicy: OnFailure
|
||||
volumes:
|
||||
- name: docker-registry-config
|
||||
- name: config
|
||||
configMap:
|
||||
name: docker-registry-config
|
||||
- name: auth
|
||||
|
|
|
|||
|
|
@ -82,6 +82,7 @@ spec:
|
|||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: "/etc/docker/registry"
|
||||
readOnly: true
|
||||
- name: auth
|
||||
mountPath: /auth
|
||||
readOnly: true
|
||||
|
|
@ -91,6 +92,9 @@ spec:
|
|||
- name: config
|
||||
configMap:
|
||||
name: docker-registry-config
|
||||
items:
|
||||
- key: "config.yml"
|
||||
path: "config.yml"
|
||||
- name: auth
|
||||
secret:
|
||||
secretName: docker-registry-secret
|
||||
|
|
|
|||
|
|
@ -12,4 +12,4 @@ resources:
|
|||
configMapGenerator:
|
||||
- name: docker-registry-config
|
||||
files:
|
||||
- config.yml
|
||||
- config.yml=cm/config.yml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue