Skip to content

Read trusted_domain_cidrs from a file#135

Merged
geofffranks merged 1 commit intocloudfoundry:masterfrom
Soha-Albaghdady:file_trusted_domain
May 7, 2019
Merged

Read trusted_domain_cidrs from a file#135
geofffranks merged 1 commit intocloudfoundry:masterfrom
Soha-Albaghdady:file_trusted_domain

Conversation

@Soha-Albaghdady
Copy link
Copy Markdown
Contributor

When the trusted_domain_cidrs list was too long haproxy start-up failed
with the following error:
parsing [/var/vcap/jobs/haproxy/config/haproxy.config:60]: line too long,
truncating at word 65, position 1049

Additionally trusted_domain_cidrs can be provided as a base64 encoded
string.

@cfdreddbot
Copy link
Copy Markdown

✅ Hey Soha-Albaghdady! The commit authors and yourself have already signed the CLA.

When the trusted_domain_cidrs list was too long haproxy start-up failed
with the following error:
parsing [/var/vcap/jobs/haproxy/config/haproxy.config:60]: line too long,
truncating at word 65, position 1049

Additionally trusted_domain_cidrs can be provided as a base64 encoded
string.
@geofffranks
Copy link
Copy Markdown
Contributor

Thanks for the fix!

One question though - what was the driver for adding the base64 support?

@Soha-Albaghdady
Copy link
Copy Markdown
Contributor Author

Thanks for the review!

It only to have a shorter manifest, and also to be consistent with the cidr_whitelist and cidr_blacklist

@geofffranks geofffranks merged commit 0c445e2 into cloudfoundry:master May 7, 2019
@Soha-Albaghdady
Copy link
Copy Markdown
Contributor Author

@geofffranks thanks for merging! when is the next release planned?

@geofffranks
Copy link
Copy Markdown
Contributor

geofffranks commented May 8, 2019 via email

@geofffranks
Copy link
Copy Markdown
Contributor

released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants