Browse Source

Add docker-registry.default.svc short name to registry service signing

Scott Dodson 8 years ago
parent
commit
337216e4ac
1 changed files with 2 additions and 1 deletions
  1. 2 1
      roles/openshift_hosted/tasks/registry/secure.yml

+ 2 - 1
roles/openshift_hosted/tasks/registry/secure.yml

@@ -53,7 +53,8 @@
     signer_serial: "{{ openshift_master_config_dir }}/ca.serial.txt"
     hostnames:
     - "{{ docker_registry_service_ip.results.clusterip }}"
-    - docker-registry.default.svc.cluster.local
+    - "{{ openshift_hosted_registry_name }}.default.svc"
+    - "{{ openshift_hosted_registry_name }}.default.svc.{{ openshift.common.dns_domain }}"
     - "{{ docker_registry_route_hostname }}"
     cert: "{{ openshift_master_config_dir }}/registry.crt"
     key: "{{ openshift_master_config_dir }}/registry.key"