fix(docker-registry): configMapGenerator reference isn't being updated

This commit is contained in:
David Landry 2024-10-16 15:47:57 -04:00
parent 624bbf54c6
commit 2d33f4b575
4 changed files with 10 additions and 6 deletions

View file

@ -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

View file

@ -53,7 +53,7 @@ spec:
port: 5000
resources:
{}
env:
env:
- name: REGISTRY_HTTP_SECRET
valueFrom:
secretKeyRef:
@ -79,18 +79,22 @@ spec:
secretKeyRef:
name: docker-registry-secret
key: proxyPassword
volumeMounts:
volumeMounts:
- name: config
mountPath: "/etc/docker/registry"
readOnly: true
- name: auth
mountPath: /auth
readOnly: true
- name: data
mountPath: /var/lib/registry/
volumes:
volumes:
- name: config
configMap:
name: docker-registry-config
items:
- key: "config.yml"
path: "config.yml"
- name: auth
secret:
secretName: docker-registry-secret

View file

@ -12,4 +12,4 @@ resources:
configMapGenerator:
- name: docker-registry-config
files:
- config.yml
- config.yml=cm/config.yml