Skip to content

Commit

Permalink
update registry container version and configure secret mount. Usernam…
Browse files Browse the repository at this point in the history
…e is idpbuilder password is idpbuilder

Signed-off-by: Jesse Sanford <[email protected]>
  • Loading branch information
jessesanford committed Feb 29, 2024
1 parent b2e53af commit 817bfce
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions examples/docker-registry/manifests/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ metadata:
namespace: docker-registry
type: Opaque
data:
htpasswd: aWRwYnVpbGRlcjokMnkkMDUkOGhTQUdWY2hCZ2hXb1A1Q0tULllkLkU5NGoxVXV2OHVJa3BWc2lxWW83OHBSTnJXUWUySkMKCg==
htpasswd: aWRwYnVpbGRlcjokMnkkMTEkVkVoa09aRE90SFZFbDJUMnFobGVwZXBGc3NMOTMvZlhoRzNaTHFyN1QvblpjajJKeXFoNWU=
---
apiVersion: v1
kind: Pod
Expand All @@ -17,10 +17,12 @@ metadata:
spec:
containers:
- name: registry
image: registry:2.6.2
image: registry:2.8.3
volumeMounts:
- name: registry-vol
mountPath: "/var/lib/registry"
- name: auth-vol
mountPath: "/auth/"
env:
- name: REGISTRY_AUTH
value: "htpasswd"
Expand Down Expand Up @@ -69,4 +71,4 @@ spec:
service:
name: docker-registry
port:
number: 5000
number: 5000

0 comments on commit 817bfce

Please sign in to comment.