docker-reg-ui
This commit is contained in:
@@ -23,16 +23,16 @@ spec:
|
||||
image: "cr.lan/docker-registry-ui:arm64"
|
||||
imagePullPolicy: Always
|
||||
env:
|
||||
- name: URL
|
||||
value: "http://cr.lan"
|
||||
#- name: URL
|
||||
# value: "https://cr.lan"
|
||||
- name: REGISTRY_TITLE
|
||||
value: "cReg"
|
||||
- name: DELETE_IMAGES
|
||||
value: "true"
|
||||
#- name: REGISTRY_URL
|
||||
# value: "http://docker-registry.lan"
|
||||
- name: PULL_URL
|
||||
- name: REGISTRY_URL
|
||||
value: "https://cr.lan"
|
||||
#- name: PULL_URL
|
||||
# value: "https://cr.lan"
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 80
|
||||
@@ -74,6 +74,10 @@ apiVersion: networking.k8s.io/v1beta1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: docker-registry-ui
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/enable-cors: "true"
|
||||
nginx.ingress.kubernetes.io/cors-allow-origin: "http://cr-ui.lan"
|
||||
nginx.ingress.kubernetes.io/cors-expose-headers: "*"
|
||||
spec:
|
||||
rules:
|
||||
- host: cr-ui.lan
|
||||
|
||||
Reference in New Issue
Block a user