-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
kind/frictionIssues causing user pain that do not have a workaroundIssues causing user pain that do not have a workaroundpriority/p1High impact feature/bug.High impact feature/bug.
Description
Repro:
Agones Helm chart deploys to multiple namespaces agones-system
and kube-system
.
helm repo add agones https://agones.dev/chart/stable
helm repo update
helm install my-release --namespace agones-system --create-namespace agones/agones
If we setup this in Skaffold, the skaffold.yaml
looks like:
apiVersion: skaffold/v2beta29
kind: Config
deploy:
helm:
releases:
- name: agones
repo: https://agones.dev/chart/stable/
remoteChart: agones
namespace: agones-system
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:
kubectl --context kind-kind --namespace agones-system create --dry-run=client -oyaml -f render.yaml
basilnsage, ericzzzzzzz, mazzy89 and AndreasBergmeier6176
Metadata
Metadata
Assignees
Labels
kind/frictionIssues causing user pain that do not have a workaroundIssues causing user pain that do not have a workaroundpriority/p1High impact feature/bug.High impact feature/bug.