You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a developer on a project I may want to define the resources for that project in a namespace of my choosing. This may be because I have a restricted account which forces me to use a specific namespace. Currently, a project can only provide static namespace definitions and as such a user has no easy way to chose where namespace-scoped resources are defined.
The text was updated successfully, but these errors were encountered:
FWIW my fix will only work if you haven't already specified a namespace in the target yaml. Apparently kubectl doesn't support overriding a namespace in that way, e.g.:
$ ko apply -f service.yaml -n foo
error: the namespace from the provided object "default" does not match the namespace "foo". You must pass '--namespace=default' to perform this operation.
So you'd either have to leave namespace blank or use something like kustomize.
As a developer on a project I may want to define the resources for that project in a namespace of my choosing. This may be because I have a restricted account which forces me to use a specific namespace. Currently, a project can only provide static namespace definitions and as such a user has no easy way to chose where namespace-scoped resources are defined.
The text was updated successfully, but these errors were encountered: