Skip to content

Commit

Permalink
Router wildcard certificate created by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Erez Freiberger committed Aug 13, 2017
1 parent f85b832 commit 5cd2d4e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roles/openshift_hosted/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ openshift_hosted_routers:

openshift_hosted_router_certificate: {}
openshift_hosted_registry_cert_expire_days: 730
openshift_hosted_router_create_certificate: False
openshift_hosted_router_create_certificate: True

os_firewall_allow:
- service: Docker Registry Port
Expand Down
2 changes: 1 addition & 1 deletion roles/openshift_hosted/tasks/router/router.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
cafile: "{{ openshift_master_config_dir ~ '/ca.crt' }}"

# End Block
when: openshift_hosted_router_create_certificate | bool
when: ( openshift_hosted_router_create_certificate | bool ) and openshift_hosted_router_certificate == {}

- name: Get the certificate contents for router
copy:
Expand Down

0 comments on commit 5cd2d4e

Please sign in to comment.