-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Provide hook to instruct Helm operator to refresh git mirrors #1776
Conversation
I had the impression that |
d461d1d
to
9002e22
Compare
In general it's desirable to defer to existing means of authentication, i.e., credentials for the Kubernetes API. However that requires either more work on the part of the user (to construct a port forward or proxy) or set up a reverse proxy/ingress (with its own authentication); or a command-line tool for the helm operator, which we don't have. I guess we could have |
I am somewhat opposed to this as it tightens the relationship between the 3 tools currently living in this repository.
|
I think most users will be happy with:
|
Yeah, it is a weak suggestion. Leaving it to people to construct a port-forward themselves is probably acceptable. |
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.
I'm OK with this as it is (OK, maybe with typos excised), but please consider my suggestion in the comments.
9243ff5
to
7b58d38
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.
Looks good Hidde 👍
Todo: - put some authentication (simple user configured key?) in front of API route - make it pretty - tests
7b58d38
to
ecd6bed
Compare
Fixes #1430
This adds a webhook to the Helm operator as described in the issue above. The webhook starts a goroutine which instructs every mirror to refresh.