diff options
| author | Alexander Zagaynov <azagayno@redhat.com> | 2017-08-30 16:40:47 +0200 | 
|---|---|---|
| committer | Alexander Zagaynov <azagayno@redhat.com> | 2017-08-30 16:40:47 +0200 | 
| commit | 6bf432ff2d21ec8e8c8dd78f00dab8036359ae52 (patch) | |
| tree | b8106545299d31f84ace308954d7bbc1f8b73e15 /roles | |
| parent | 72dc64790cb59856568dd69d65d5584a65ea4ea0 (diff) | |
| download | openshift-6bf432ff2d21ec8e8c8dd78f00dab8036359ae52.tar.gz openshift-6bf432ff2d21ec8e8c8dd78f00dab8036359ae52.tar.bz2 openshift-6bf432ff2d21ec8e8c8dd78f00dab8036359ae52.tar.xz openshift-6bf432ff2d21ec8e8c8dd78f00dab8036359ae52.zip | |
add comment on regexp specifics
Diffstat (limited to 'roles')
| -rw-r--r-- | roles/openshift_master/templates/master.yaml.v1.j2 | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/roles/openshift_master/templates/master.yaml.v1.j2 b/roles/openshift_master/templates/master.yaml.v1.j2 index abd2f9a59..0cf20ce85 100644 --- a/roles/openshift_master/templates/master.yaml.v1.j2 +++ b/roles/openshift_master/templates/master.yaml.v1.j2 @@ -59,7 +59,7 @@ controllerConfig:  controllers: '*'  corsAllowedOrigins:  {% for origin in ['127.0.0.1', 'localhost', openshift.common.ip, openshift.common.public_ip] | union(openshift.common.all_hostnames) | unique %} -  - (?i)\A{{ origin | regex_escape() }}\z +  - (?i)\A{{ origin | regex_escape() }}\z {# anchor with start (\A) and end (\z) of the string, make the check case insensitive ((?i)) and escape hostname #}  {% endfor %}  {% for custom_origin in openshift.master.custom_cors_origins | default("") %}    - {{ custom_origin }} | 
