Some orgs will put admission webhooks on namespaces enforcing various label/annotation policies, checking if it exists after failed creates will bug because the admission controller will throw first causing the error to not be a not found error. So we should get before create to properly upsert namespaces.
Test Plan
n/a
Checklist
[ ] If required, I have updated the Plural documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] I have added a meaningful title and summary to convey the impact of this PR to a user.
[ ] I have added relevant labels to this PR to help with categorization for release notes.
Summary
Some orgs will put admission webhooks on namespaces enforcing various label/annotation policies, checking if it exists after failed creates will bug because the admission controller will throw first causing the error to not be a not found error. So we should get before create to properly upsert namespaces.
Test Plan
n/a
Checklist