Skip to content

Conversation

fabianvf
Copy link
Member

@fabianvf fabianvf commented Jul 16, 2021

Description of the change:
If a request is made to a namespaced endpoint, but the body does not contain the namespace, we will now detect that and still properly handle owner reference injection.

Motivation for the change:
Helm secrets were not getting owner references injected because helm creates the resource without setting namespace in the ObjectMeta.

Closes #5038

Checklist

If the pull request includes user-facing changes, extra documentation is required:

@openshift-ci openshift-ci bot requested review from jberkhahn and joelanford July 16, 2021 17:50
@fabianvf fabianvf force-pushed the proxy-detect-ns branch 4 times, most recently from c176e6c to 7778ff2 Compare July 20, 2021 15:38
Signed-off-by: Fabian von Feilitzsch <[email protected]>
Signed-off-by: Fabian von Feilitzsch <[email protected]>
Copy link
Member

@jmrodri jmrodri left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jul 26, 2021
Copy link
Member

@estroz estroz 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
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ansible-operator doesn't inject owner if the namespace is not set in manifest's metadata
3 participants