diff options
author | Jan Chaloupka <jchaloup@redhat.com> | 2017-05-19 11:53:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-19 11:53:16 +0200 |
commit | 80a71ef857cf6268d5f27c4c68bcd59f2c110af5 (patch) | |
tree | 191f6f392a9626d697ff419b06430d79ceae8dca | |
parent | 3ddeebe66c59725077cdb712f93b30c6f139023f (diff) | |
parent | a3b7fe62d02821cbca74ea466f37e8836764f30e (diff) | |
download | openshift-80a71ef857cf6268d5f27c4c68bcd59f2c110af5.tar.gz openshift-80a71ef857cf6268d5f27c4c68bcd59f2c110af5.tar.bz2 openshift-80a71ef857cf6268d5f27c4c68bcd59f2c110af5.tar.xz openshift-80a71ef857cf6268d5f27c4c68bcd59f2c110af5.zip |
Merge pull request #4128 from VincentS/Container_Registry_Firewalld
Added Container Registry Port 5000 to Firewalld
-rw-r--r-- | roles/openshift_hosted/defaults/main.yml | 5 | ||||
-rw-r--r-- | roles/openshift_hosted/meta/main.yml | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/roles/openshift_hosted/defaults/main.yml b/roles/openshift_hosted/defaults/main.yml index e7e62e5e4..089054e2f 100644 --- a/roles/openshift_hosted/defaults/main.yml +++ b/roles/openshift_hosted/defaults/main.yml @@ -30,3 +30,8 @@ openshift_hosted_routers: openshift_hosted_router_certificate: {} openshift_hosted_registry_cert_expire_days: 730 openshift_hosted_router_create_certificate: False + +os_firewall_allow: +- service: Docker Registry Port + port: 5000/tcp + when: openshift.common.use_calico | bool diff --git a/roles/openshift_hosted/meta/main.yml b/roles/openshift_hosted/meta/main.yml index 9626c23c1..9e3f37130 100644 --- a/roles/openshift_hosted/meta/main.yml +++ b/roles/openshift_hosted/meta/main.yml @@ -15,3 +15,8 @@ dependencies: - role: openshift_cli - role: openshift_hosted_facts - role: lib_openshift +- role: os_firewall + os_firewall_allow: + - service: Docker Registry Port + port: 5000/tcp + when: openshift.common.use_calico | bool |