pluralsh / plural-cli

cli for the plural platform
MIT License
27 stars 10 forks source link

Get Namespace before creating #500

Closed michaeljguarino closed 5 months ago

michaeljguarino commented 5 months ago

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