From cf7eef7c36dcc614a2198a0ce123bd7b6e990f21 Mon Sep 17 00:00:00 2001 From: Slava Semushin Date: Wed, 8 Mar 2017 17:43:04 +0100 Subject: openshift_hosted: add openshift_hosted_registry_cert_expire_days parameter. --- roles/openshift_hosted/tasks/registry/secure.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'roles/openshift_hosted/tasks') diff --git a/roles/openshift_hosted/tasks/registry/secure.yml b/roles/openshift_hosted/tasks/registry/secure.yml index f9ea2ebeb..8a159bf73 100644 --- a/roles/openshift_hosted/tasks/registry/secure.yml +++ b/roles/openshift_hosted/tasks/registry/secure.yml @@ -57,6 +57,7 @@ - "{{ docker_registry_route_hostname }}" cert: "{{ openshift_master_config_dir }}/registry.crt" key: "{{ openshift_master_config_dir }}/registry.key" + expire_days: "{{ openshift_hosted_registry_cert_expire_days if openshift_version | oo_version_gte_3_5_or_1_5(openshift.common.deployment_type) | bool else omit }}" register: server_cert_out - name: Create the secret for the registry certificates -- cgit v1.2.3