From 69bacdb5327f729dc4501442e49c1b2d30172b78 Mon Sep 17 00:00:00 2001 From: Tim Bryant Date: Mon, 28 Oct 2024 11:32:06 -0400 Subject: [PATCH] fix: Update registry server install.yaml with new HTTP headers and log level value --- gitops/manifests/registry-server/install.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/gitops/manifests/registry-server/install.yaml b/gitops/manifests/registry-server/install.yaml index c41901f..7ba1007 100644 --- a/gitops/manifests/registry-server/install.yaml +++ b/gitops/manifests/registry-server/install.yaml @@ -40,9 +40,9 @@ spec: imagePullPolicy: IfNotPresent env: - name: REGISTRY_HTTP_HEADERS_Access-Control-Allow-Origin - value: "[http://registry.local.timmybtech.com]" + value: "[http://registry.local.timmybtech.com,https://registry.local.timmybtech.com]" - name: REGISTRY_HTTP_HEADERS_Access-Control-Allow-Methods - value: "[HEAD,GET,OPTIONS,DELETE]" + value: "[HEAD,GET,OPTIONS,DELETE,PUT,POST]" - name: REGISTRY_HTTP_HEADERS_Access-Control-Allow-Credentials value: "[true]" - name: REGISTRY_HTTP_HEADERS_Access-Control-Allow-Headers @@ -51,14 +51,16 @@ spec: value: "[Docker-Content-Digest]" - name: REGISTRY_STORAGE_DELETE_ENABLED value: "true" + - name: REGISTRY_HTTP_SECRET + value: "" - name: REGISTRY_LOG_LEVEL - value: "debug" + value: "info" volumeMounts: - name: registry-storage mountPath: /var/lib/registry ports: - containerPort: 5000 - name: registry + name: http resources: requests: cpu: 200m