https://garden.io logo
Bonsai (0.13.0) and nginx ingress controller fails to update
k

kind-jordan-85111

05/26/2023, 7:02 PM
After upgrading to the 0.13 version of the CLI, running any command tries to update the nginx ingress controller and fails. Steps to replicate: - Running on Ubuntu 18 - Start with 0.12.56 version of garden - Create a new kind cluster (kind version is 0.17.0 - https://kind.sigs.k8s.io/) - Initialize garden resources in the cluster via
garden plugins local-kubernetes cluster-init
- Upgrade to the 0.13.0 version of the CLI - Run
garden validate
- this triggers upgrades of garden managed resources including the nginx controller Expected results: No errors and components are updated Actual results:
Resource: "batch/v1, Resource=jobs", GroupVersionKind: "batch/v1, Kind=Job"
Name: "ingress-nginx-admission-patch", Namespace: "ingress-nginx"
...TopologySpreadConstraints:[]core.TopologySpreadConstraint(nil), OS:(*core.PodOS)(nil)}}: field is immutable
...
Failed resolving one or more providers:
- local-kubernetes
Full log is attached https://cdn.discordapp.com/attachments/1111730980726775960/1111730980936482846/message.txt