From b32e31fff4b3fb97a7fa738d8afd1fb53e4d23df Mon Sep 17 00:00:00 2001 From: haroldwongms Date: Sat, 3 Nov 2018 08:50:22 -0700 Subject: [PATCH] use proper oc set env --- dockerregistrygov.yaml | 2 +- dockerregistrypublic.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dockerregistrygov.yaml b/dockerregistrygov.yaml index 8b53ccd..34a7401 100644 --- a/dockerregistrygov.yaml +++ b/dockerregistrygov.yaml @@ -8,4 +8,4 @@ description: "Set registry to use Azure Storage" tasks: - name: Configure docker-registry to use Azure Storage - shell: oc env dc docker-registry -e REGISTRY_STORAGE=azure -e REGISTRY_STORAGE_AZURE_ACCOUNTNAME={{ lookup('env','REGISTRYSA') }} -e REGISTRY_STORAGE_AZURE_ACCOUNTKEY={{ lookup('env','ACCOUNTKEY') }} -e REGISTRY_STORAGE_AZURE_CONTAINER=registry -e REGISTRY_STORAGE_AZURE_REALM=core.usgovcloudapi.net + shell: oc set env dc docker-registry -e REGISTRY_STORAGE=azure -e REGISTRY_STORAGE_AZURE_ACCOUNTNAME={{ lookup('env','REGISTRYSA') }} -e REGISTRY_STORAGE_AZURE_ACCOUNTKEY={{ lookup('env','ACCOUNTKEY') }} -e REGISTRY_STORAGE_AZURE_CONTAINER=registry -e REGISTRY_STORAGE_AZURE_REALM=core.usgovcloudapi.net diff --git a/dockerregistrypublic.yaml b/dockerregistrypublic.yaml index c152ee4..cc04b43 100644 --- a/dockerregistrypublic.yaml +++ b/dockerregistrypublic.yaml @@ -8,4 +8,4 @@ description: "Set registry to use Azure Storage" tasks: - name: Configure docker-registry to use Azure Storage - shell: oc env dc docker-registry -e REGISTRY_STORAGE=azure -e REGISTRY_STORAGE_AZURE_ACCOUNTNAME={{ lookup('env','REGISTRYSA') }} -e REGISTRY_STORAGE_AZURE_ACCOUNTKEY={{ lookup('env','ACCOUNTKEY') }} -e REGISTRY_STORAGE_AZURE_CONTAINER=registry -e REGISTRY_STORAGE_AZURE_REALM=core.windows.net + shell: oc set env dc docker-registry -e REGISTRY_STORAGE=azure -e REGISTRY_STORAGE_AZURE_ACCOUNTNAME={{ lookup('env','REGISTRYSA') }} -e REGISTRY_STORAGE_AZURE_ACCOUNTKEY={{ lookup('env','ACCOUNTKEY') }} -e REGISTRY_STORAGE_AZURE_CONTAINER=registry -e REGISTRY_STORAGE_AZURE_REALM=core.windows.net