Running skaffold render --output render.yaml creates a rendered manifest file, but trying to deploy using skaffold apply command fails with the error:
the namespace from the provided object does not match the namespace agones-system
This failure happens on every repeat deployment excluding the first time deployment.
This command invoked by Skaffold here fails if there are multiple namespaces in the rendered manifests and the resources already exist:
Repro: Agones Helm chart deploys to multiple namespaces
agones-system
andkube-system
.If we setup this in Skaffold, the
skaffold.yaml
looks like:Running
skaffold render --output render.yaml
creates a rendered manifest file, but trying to deploy usingskaffold apply
command fails with the error:This failure happens on every repeat deployment excluding the first time deployment. This command invoked by Skaffold here fails if there are multiple namespaces in the rendered manifests and the resources already exist: