fix(docker-registry): configmap suffix wasn't being applied because of namespace shennanigans
This commit is contained in:
parent
2d33f4b575
commit
c9a2ebe213
3 changed files with 23 additions and 41 deletions
|
|
@ -4,7 +4,6 @@ apiVersion: batch/v1
|
|||
kind: CronJob
|
||||
metadata:
|
||||
name: docker-registry-garbage-collector
|
||||
namespace: gitops
|
||||
labels:
|
||||
app: docker-registry
|
||||
chart: docker-registry-2.2.3
|
||||
|
|
@ -82,4 +81,3 @@ spec:
|
|||
path: htpasswd
|
||||
- name: data
|
||||
emptyDir: {}
|
||||
|
||||
|
|
|
|||
|
|
@ -4,31 +4,21 @@ apiVersion: apps/v1
|
|||
kind: Deployment
|
||||
metadata:
|
||||
name: docker-registry
|
||||
namespace: gitops
|
||||
labels:
|
||||
app: docker-registry
|
||||
chart: docker-registry-2.2.3
|
||||
release: docker-registry
|
||||
heritage: Helm
|
||||
app.kubernetes.io/name: docker-registry
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: docker-registry
|
||||
release: docker-registry
|
||||
app.kubernetes.io/name: docker-registry
|
||||
replicas: 1
|
||||
revisionHistoryLimit: 3
|
||||
strategy:
|
||||
rollingUpdate:
|
||||
maxSurge: 1
|
||||
maxUnavailable: 0
|
||||
type: RollingUpdate
|
||||
minReadySeconds: 5
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: docker-registry
|
||||
release: docker-registry
|
||||
app.kubernetes.io/name: docker-registry
|
||||
annotations:
|
||||
updated-at/secret: 2024-10-16T14:38:25-04:00
|
||||
spec:
|
||||
securityContext:
|
||||
fsGroup: 1000
|
||||
|
|
@ -51,8 +41,7 @@ spec:
|
|||
httpGet:
|
||||
path: /
|
||||
port: 5000
|
||||
resources:
|
||||
{}
|
||||
resources: {}
|
||||
env:
|
||||
- name: REGISTRY_HTTP_SECRET
|
||||
valueFrom:
|
||||
|
|
@ -81,7 +70,7 @@ spec:
|
|||
key: proxyPassword
|
||||
volumeMounts:
|
||||
- name: config
|
||||
mountPath: "/etc/docker/registry"
|
||||
mountPath: /etc/docker/registry
|
||||
readOnly: true
|
||||
- name: auth
|
||||
mountPath: /auth
|
||||
|
|
@ -92,9 +81,6 @@ spec:
|
|||
- name: config
|
||||
configMap:
|
||||
name: docker-registry-config
|
||||
items:
|
||||
- key: "config.yml"
|
||||
path: "config.yml"
|
||||
- name: auth
|
||||
secret:
|
||||
secretName: docker-registry-secret
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@ apiVersion: apps/v1
|
|||
kind: Deployment
|
||||
metadata:
|
||||
name: docker-registry
|
||||
namespace: gitops
|
||||
labels:
|
||||
app: docker-registry
|
||||
chart: docker-registry-2.2.3
|
||||
|
|
@ -13,4 +12,3 @@ spec:
|
|||
metadata:
|
||||
annotations:
|
||||
updated-at/secret: 2024-10-16T15:23-04:00
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue