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

Add note to image-update.md about namespaces #859

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jiphex
Copy link

@jiphex jiphex commented Apr 1, 2022

When an ImageUpdateAutomation is specified in namespace A, the image-automation controller will select imagepolicy setters which match the namespace of the ImageUpdateAutomation object (A), and silently skip any {"$imagepolicy":"nota:whatever"} comments

This caused me some confusion for a while - in our case we have a single flux-system ImageUpdateAutomation resource in our bootstrapped flux repositories, and because this wasn't explicitly mentioned at this point in the docs, I assumed it would make more sense to put the ImagePolicy and ImageRepository resources in the namespaces of their relevant deployments, rather than in the flux-system one, however these aren't found by the image-automation setters.

The language could be improved, but I was struggling to word the explanation.

When an ImageUpdateAutomation is specified in namespace A, the image-automation controller will select imagepolicy setters which match the namespace of the ImageUpdateAutomation object
@dholbach dholbach added the blocked/requires-dco Pull requests that must be signed label Jun 2, 2022
@staceypotter
Copy link
Member

@jiphex can you sign off your commit please? thx

@dholbach dholbach added the blocked/requires-rebase Pull requests that must be rebased label Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked/requires-dco Pull requests that must be signed blocked/requires-rebase Pull requests that must be rebased
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants