Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default to an open localregistry policy #827

Merged
merged 1 commit into from Mar 9, 2018

Conversation

eriknelson
Copy link
Contributor

Having a default policy of only allowing APBs with a name suffixed by "-apb" has been confusing our development community. This change removes the above restriction by default. The justification for this change is that the deployment environments that use this template from the github repo include catasb, minishift, and run_latest_build.sh. These are all specifically development environments. openshift-ansible, which is likely used for production deployments, carries its own production deployment template.

fixes #823

@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Mar 8, 2018
Copy link
Member

@djzager djzager left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK

white_list:
- ".*-apb$"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it work if you just comment it out? Maybe just add it to the block comment.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would if you removed the white_list altogether, or just commented it out, but I sort of feel like it's not a bad thing to ask admins who would like to tweak this to write their own regex. Also there is an example immediately above for dockerhub.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with you.

@eriknelson eriknelson merged commit dac85fa into openshift:master Mar 9, 2018
@eriknelson eriknelson deleted the i823 branch March 9, 2018 00:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-review size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change default development template whitelist to *
5 participants