-
Notifications
You must be signed in to change notification settings - Fork 67
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
imagerepo: add .spec.insecure
to ImageRepository
#472
Conversation
45e1dad
to
a6a16f3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Thanks @aryan9600
Just a note about this change in relation to #368. When ImagePolicy starts connecting to the registry for fetching the digest, it'll also need to know about the insecure field associated with the ImageRepository image. What's in the spec may not match what's in the status for the current generation. So, both Image and Insecure fields will have to be recorded in the status for the observed generation of ImageRepository. |
Add a new boolean field `.spec.insecure` to the `ImageRepository` API. This enables connecting to insecure registries hosted at an HTTP endpoint. Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
a6a16f3
to
15a1b09
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Add a new boolean field
.spec.insecure
to theImageRepository
API. This enables connecting to insecure registries hosted at an HTTP endpoint.Fixes #325
Related to https://github.com/fluxcd/flux2/tree/main/rfcs/0004-insecure-http