Add Kubernetes manifests for self-hosted services
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: registry-ui
|
||||
namespace: registry
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: registry-ui
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: registry-ui
|
||||
spec:
|
||||
containers:
|
||||
- name: registry-ui
|
||||
image: joxit/docker-registry-ui:latest
|
||||
ports:
|
||||
- containerPort: 80
|
||||
env:
|
||||
- name: NGINX_PROXY_PASS_URL
|
||||
value: "http://docker-registry.registry.svc.cluster.local:5000"
|
||||
- name: SINGLE_REGISTRY
|
||||
value: "true"
|
||||
- name: DELETE_IMAGES_ENABLED
|
||||
value: "true" # optional, allows deleting images from UI
|
||||
- name: SHOW_CONTENT_DIGEST
|
||||
value: "true" # optional, shows image digests
|
||||
Reference in New Issue
Block a user