Skip to content

Conversation

@willthames
Copy link
Contributor

resource definitions that are accompanied separately by names
and namespaces should be updated and the name and namespace used

Fixes #296

resource definitions that are accompanied separately by names
and namespaces should be updated and the name and namespace used

Fixes openshift#296
@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label May 28, 2019
@willthames
Copy link
Contributor Author

tbh there should be tests for this, I'm happy for this to be considered a WIP

@willthames
Copy link
Contributor Author

I do think there should be tests, but the test suite here isn't really fit for that purpose. I'll add tests to ansible/ansible#49053 instead

@willthames
Copy link
Contributor Author

Hmm, it seems that this bug doesn't get hit by ansible because ansible patches the metadata with name and namespace parameters before it gets to the openshift library. I tried some test cases but they all worked without this fix!

@fabianvf
Copy link
Member

Yeah I need to fix up the test infra. I'll go ahead and merge this now though

@fabianvf fabianvf merged commit 7f06b34 into openshift:master May 29, 2019
willthames added a commit to willthames/openshift-restclient-python that referenced this pull request Nov 22, 2019
…ft#300)

resource definitions that are accompanied separately by names
and namespaces should be updated and the name and namespace used

Fixes openshift#296
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

apply method didn't work with provided namespace

3 participants