summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorAndrew Butcher <abutcher@redhat.com>2016-09-09 11:25:03 -0400
committerAndrew Butcher <abutcher@redhat.com>2016-09-09 11:25:03 -0400
commit437f096b7c7fbca08b748d3754be8a6f84faba06 (patch)
treedaa24947185c8e083ba2f8e38302716f8b64e53d /roles
parent52eeaed447a97a85d0266036136ac611be13bbae (diff)
downloadopenshift-437f096b7c7fbca08b748d3754be8a6f84faba06.tar.gz
openshift-437f096b7c7fbca08b748d3754be8a6f84faba06.tar.bz2
openshift-437f096b7c7fbca08b748d3754be8a6f84faba06.tar.xz
openshift-437f096b7c7fbca08b748d3754be8a6f84faba06.zip
Set config/namespace where missing for secure registry deployment.
Diffstat (limited to 'roles')
-rw-r--r--roles/openshift_hosted/tasks/registry/secure.yml4
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