removed docker-registry-ui submod

This commit is contained in:
2021-06-22 09:29:48 +02:00
parent 20501a36d0
commit 2e1eb475e9
5 changed files with 9 additions and 14 deletions

3
.gitmodules vendored
View File

@@ -52,6 +52,3 @@
[submodule "nfs-subdir-external-provisioner"] [submodule "nfs-subdir-external-provisioner"]
path = nfs-subdir-external-provisioner path = nfs-subdir-external-provisioner
url = https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner.git url = https://github.com/kubernetes-sigs/nfs-subdir-external-provisioner.git
[submodule "apps/docker-registry/docker-registry-ui"]
path = apps/docker-registry/docker-registry-ui
url = https://github.com/Joxit/docker-registry-ui.git

View File

@@ -20,19 +20,18 @@ spec:
spec: spec:
containers: containers:
- name: registry-ui - name: registry-ui
image: cr.lan/docker-registry-ui:arm64 #image: cr.lan/docker-registry-ui:arm64
image: docker.io/joxit/docker-registry-ui:main-debian
imagePullPolicy: Always imagePullPolicy: Always
env: env:
#- name: URL - name: NGINX_PROXY_PASS_URL
# value: "https://cr.lan" value: "http://cr-ui.lan"
- name: REGISTRY_TITLE - name: REGISTRY_TITLE
value: "cReg" value: "cReg"
- name: DELETE_IMAGES - name: DELETE_IMAGES
value: "true" value: "true"
- name: REGISTRY_URL - name: REGISTRY_URL
value: "https://cr.lan" value: "http://cr.lan"
#- name: PULL_URL
# value: "https://cr.lan"
ports: ports:
- name: http - name: http
containerPort: 80 containerPort: 80
@@ -76,7 +75,7 @@ metadata:
name: docker-registry-ui name: docker-registry-ui
annotations: annotations:
nginx.ingress.kubernetes.io/enable-cors: "true" nginx.ingress.kubernetes.io/enable-cors: "true"
nginx.ingress.kubernetes.io/cors-allow-origin: "http://cr-ui.lan" nginx.ingress.kubernetes.io/cors-allow-origin: "*"
nginx.ingress.kubernetes.io/cors-expose-headers: "*" nginx.ingress.kubernetes.io/cors-expose-headers: "*"
spec: spec:
rules: rules:

View File

@@ -86,7 +86,7 @@ data:
addr: :5000 addr: :5000
headers: headers:
X-Content-Type-Options: [nosniff] X-Content-Type-Options: [nosniff]
Access-Control-Allow-Origin: ['*'] Access-Control-Allow-Origin: ['*', 'http://cr-ui.lan']
Access-Control-Allow-Methods: ['HEAD', 'GET', 'OPTIONS', 'DELETE'] Access-Control-Allow-Methods: ['HEAD', 'GET', 'OPTIONS', 'DELETE']
Access-Control-Allow-Headers: ['Authorization', 'Accept'] Access-Control-Allow-Headers: ['Authorization', 'Accept']
Access-Control-Max-Age: [1728000] Access-Control-Max-Age: [1728000]

View File

@@ -35,13 +35,13 @@ spec:
httpGet: httpGet:
path: / path: /
port: http port: http
initialDelaySeconds: 60 initialDelaySeconds: 300
periodSeconds: 10 periodSeconds: 10
readinessProbe: readinessProbe:
httpGet: httpGet:
path: / path: /
port: http port: http
initialDelaySeconds: 60 initialDelaySeconds: 120
periodSeconds: 5 periodSeconds: 5
resources: resources:
requests: requests: