summaryrefslogtreecommitdiffstats
path: root/roles/openshift_hosted/tasks
diff options
context:
space:
mode:
authorSlava Semushin <vsemushi@redhat.com>2017-03-08 17:43:04 +0100
committerSlava Semushin <vsemushi@redhat.com>2017-03-29 15:50:09 +0200
commitcf7eef7c36dcc614a2198a0ce123bd7b6e990f21 (patch)
tree585710bfb99ec89cf1586305f2794ea1f0960854 /roles/openshift_hosted/tasks
parentf2f67133c5a8c68c2a7a28b146f7cb9786ba48d0 (diff)
downloadopenshift-cf7eef7c36dcc614a2198a0ce123bd7b6e990f21.tar.gz
openshift-cf7eef7c36dcc614a2198a0ce123bd7b6e990f21.tar.bz2
openshift-cf7eef7c36dcc614a2198a0ce123bd7b6e990f21.tar.xz
openshift-cf7eef7c36dcc614a2198a0ce123bd7b6e990f21.zip
openshift_hosted: add openshift_hosted_registry_cert_expire_days parameter.
Diffstat (limited to 'roles/openshift_hosted/tasks')
-rw-r--r--roles/openshift_hosted/tasks/registry/secure.yml1
1 files changed, 1 insertions, 0 deletions
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