Files
Kubernetes/DockerRegistry/UI/registry-ui-deploy.yaml
T

29 lines
794 B
YAML

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