tilt-prepare command doesn't check if the addons provider has already metrics port exposed #9306
Labels
area/clusterctl
Issues or PRs related to clusterctl
kind/bug
Categorizes issue or PR as related to a bug.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
What steps did you take and what happened?
I'm debugging locally CAPI along with a set of providers using
Tilt
by using the following file:The
kamaji-core
Kustomize manifest is already exporting a metrics port, however, the rendered manifest will end-up with a duplicate port, being impossible to setup the whole environment.What did you expect to happen?
tilt-prepare
should skip adding theports
item if the addon Deployment manifest is already offering a metrics port listening on 8080.Cluster API version
v1.5.0
Kubernetes version
N.R.
Anything else you would like to add?
I already have a PR to fix this.
Label(s) to be applied
/kind bug
/area clusterctl
The text was updated successfully, but these errors were encountered: