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

[OCIRepository] Add support for non-TLS insecure container registries #881

Merged
merged 2 commits into from
Aug 31, 2022

Conversation

stefanprodan
Copy link
Member

@stefanprodan stefanprodan commented Aug 31, 2022

This PR adds an optinal field named insecure to the OCIRepository API. With spec.insecure we allow Flux to work with in-cluster container registries such as Kubernetes Kind Docker registry. This will enable users to run Flux locally for dev/testing without the need to connect their local clusters to a registry SaaS or setup TLS with self-signed certs.

PS. In the future, the insecure flags will be subject to #806 so that cluster admin could disable this behaviour on production environments.

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
@stefanprodan stefanprodan added the area/oci OCI related issues and pull requests label Aug 31, 2022
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
@stefanprodan stefanprodan changed the title Add support for plain HTTP OCIRepositories [OCIRepository] Add support for non-TLS insecure container registries Aug 31, 2022
Copy link
Member

@pjbgf pjbgf left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/oci OCI related issues and pull requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants