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
|
name: docker-registry-secret
|
||||||
key: proxyPassword
|
key: proxyPassword
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: "docker-registry-config"
|
- name: config
|
||||||
mountPath: "/etc/docker/registry"
|
mountPath: "/etc/docker/registry"
|
||||||
- name: auth
|
- name: auth
|
||||||
mountPath: /auth
|
mountPath: /auth
|
||||||
|
|
@ -71,7 +71,7 @@ spec:
|
||||||
mountPath: /var/lib/registry/
|
mountPath: /var/lib/registry/
|
||||||
restartPolicy: OnFailure
|
restartPolicy: OnFailure
|
||||||
volumes:
|
volumes:
|
||||||
- name: docker-registry-config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: docker-registry-config
|
name: docker-registry-config
|
||||||
- name: auth
|
- name: auth
|
||||||
|
|
|
||||||
|
|
@ -53,7 +53,7 @@ spec:
|
||||||
port: 5000
|
port: 5000
|
||||||
resources:
|
resources:
|
||||||
{}
|
{}
|
||||||
env:
|
env:
|
||||||
- name: REGISTRY_HTTP_SECRET
|
- name: REGISTRY_HTTP_SECRET
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
|
|
@ -79,18 +79,22 @@ spec:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: docker-registry-secret
|
name: docker-registry-secret
|
||||||
key: proxyPassword
|
key: proxyPassword
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: config
|
- name: config
|
||||||
mountPath: "/etc/docker/registry"
|
mountPath: "/etc/docker/registry"
|
||||||
|
readOnly: true
|
||||||
- name: auth
|
- name: auth
|
||||||
mountPath: /auth
|
mountPath: /auth
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /var/lib/registry/
|
mountPath: /var/lib/registry/
|
||||||
volumes:
|
volumes:
|
||||||
- name: config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: docker-registry-config
|
name: docker-registry-config
|
||||||
|
items:
|
||||||
|
- key: "config.yml"
|
||||||
|
path: "config.yml"
|
||||||
- name: auth
|
- name: auth
|
||||||
secret:
|
secret:
|
||||||
secretName: docker-registry-secret
|
secretName: docker-registry-secret
|
||||||
|
|
|
||||||
|
|
@ -12,4 +12,4 @@ resources:
|
||||||
configMapGenerator:
|
configMapGenerator:
|
||||||
- name: docker-registry-config
|
- name: docker-registry-config
|
||||||
files:
|
files:
|
||||||
- config.yml
|
- config.yml=cm/config.yml
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue