diff options
author | Scott Dodson <sdodson@redhat.com> | 2016-09-09 12:24:52 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-09 12:24:52 -0400 |
commit | f85dd1604e9c3d011b24654e6c40c0345e2e96bb (patch) | |
tree | c3c6f8ce5c3eae529aaedcfbf86490bea88df70e /roles | |
parent | 242aeba73a60a7ad113a80e8141478fe67b695a5 (diff) | |
parent | 437f096b7c7fbca08b748d3754be8a6f84faba06 (diff) | |
download | openshift-f85dd1604e9c3d011b24654e6c40c0345e2e96bb.tar.gz openshift-f85dd1604e9c3d011b24654e6c40c0345e2e96bb.tar.bz2 openshift-f85dd1604e9c3d011b24654e6c40c0345e2e96bb.tar.xz openshift-f85dd1604e9c3d011b24654e6c40c0345e2e96bb.zip |
Merge pull request #2427 from abutcher/BZ1298336
Bug 1298336 - Rerunning the installer fails when not in default namespace
Diffstat (limited to 'roles')
-rw-r--r-- | roles/openshift_hosted/tasks/registry/secure.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/openshift_hosted/tasks/registry/secure.yml b/roles/openshift_hosted/tasks/registry/secure.yml index ef1c7c5bc..4cb85df04 100644 --- a/roles/openshift_hosted/tasks/registry/secure.yml +++ b/roles/openshift_hosted/tasks/registry/secure.yml @@ -13,6 +13,8 @@ command: > {{ openshift.common.client_binary }} get service docker-registry --template='{{ '{{' }} .spec.clusterIP {{ '}}' }}' + --config={{ openshift_hosted_kubeconfig }} + -n default register: docker_registry_service_ip changed_when: false @@ -74,6 +76,8 @@ {{ openshift.common.client_binary }} env dc/docker-registry REGISTRY_HTTP_TLS_CERTIFICATE=/etc/secrets/registry.crt REGISTRY_HTTP_TLS_KEY=/etc/secrets/registry.key + --config={{ openshift_hosted_kubeconfig }} + -n default # These commands are on a single line to preserve patch json. - name: Update registry liveness probe from HTTP to HTTPS |