Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kustomize doesn't seem to be applied #6505

Closed
patrick91 opened this issue Feb 21, 2025 · 2 comments
Closed

Kustomize doesn't seem to be applied #6505

patrick91 opened this issue Feb 21, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@patrick91
Copy link

Expected Behavior

The kustomisation should be applied correctly

Current Behavior

No kustomisation is applied

I've also made a video trying to explain what's happening

https://share.cleanshot.com/dcYy6Nmh

Steps to Reproduce

I've made a repo here: https://github.com/patrick-bug-repro/tilt-kustomize

git clone https://github.com/patrick-bug-repro/tilt-kustomize.git
tilt up

in another terminal:

kubectl get configmap config-domain -n knative-serving -o yaml | grep patrick.space

Context

tilt doctor Output

$ tilt doctor
Tilt: v0.33.22, built 2025-01-03
System: darwin-arm64
---
Docker
- Host: unix:///Users/patrickarminio/.orbstack/run/docker.sock
- Server Version: 27.5.1
- API Version: 1.47
- Builder: 2
- Compose Version: v2.32.4
---
Kubernetes
- Env: orbstack
- Context: orbstack
- Cluster Name: orbstack
- Namespace: default
- Container Runtime: docker
- Version: v1.30.7+orb1
- Cluster Local Registry: none
---
Thanks for seeing the Tilt Doctor!
Please send the info above when filing bug reports. 💗

The info below helps us understand how you're using Tilt so we can improve,
but is not required to ask for help.
---
Analytics Settings
--> (These results reflect your personal opt in/out status and may be overridden by an `analytics_settings` call in your Tiltfile)
- User Mode: opt-out
- Machine: 261341f1fcce9c780caf17d18303cfc7
- Repo: k4M+Mjl8SQl40t8GRvqioA==
@patrick91 patrick91 added the bug Something isn't working label Feb 21, 2025
@nicks
Copy link
Member

nicks commented Feb 23, 2025

hello! sorry you're having trouble. i think your tiltfile just has a mistake.

in this case, you're applying config-domain twice -- once as part of the knative install, and once as part of your kustomize, so the installer one is overwriting yours.

you can use tilt get kubernetesapply to inspect what tilt is applying

@nicks nicks closed this as completed Feb 23, 2025
@nicks
Copy link
Member

nicks commented Feb 23, 2025

a good solution here would be to set up resource deps so that your config map gets installed after knative

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants