Browse Source

run-buildset-container: fix username/password for proxy registry

This configuration is intended to mask the creds supplied by the
local docker configuration when the registry is used as a
pull-through proxy to upstream.  But we need to set the creds
to the empty string, rather than null, which ends up as the string
"None" in the docker config.

Change-Id: Ic36a5c764dec8df4fa460f6735ff5668a1dd3b50
changes/67/638767/1
James E. Blair 3 months ago
parent
commit
8998838d7a
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      roles/run-buildset-registry/tasks/main.yaml

+ 2
- 2
roles/run-buildset-registry/tasks/main.yaml View File

@@ -74,8 +74,8 @@
74 74
       REGISTRY_AUTH_HTPASSWD_PATH: /auth/htpasswd
75 75
       REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm
76 76
       REGISTRY_PROXY_REMOTEURL: https://registry-1.docker.io
77
-      REGISTRY_PROXY_USERNAME:
78
-      REGISTRY_PROXY_PASSWORD:
77
+      REGISTRY_PROXY_USERNAME: ''
78
+      REGISTRY_PROXY_PASSWORD: ''
79 79
     volumes:
80 80
       - "{{ buildset_registry_root}}/data:/var/lib/registry"
81 81
       - "{{ buildset_registry_root}}/certs:/certs"

Loading…
Cancel
Save