https://garden.io logo
#🌱|help-and-getting-started
Bonsai (0.13.0) and nginx ingress controller fails to update
# 🌱|help-and-getting-started
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:
Copy code
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
b

bright-policeman-43626

05/29/2023, 4:16 AM
It seems like this is because of the
ingress-nginx-admission
secret; sadly, this happens to me as well; for now, I solved it by deleting the
garden-system
namespace and redeploying with a regular
garden deploy
not sure if we changed something about the nginx ingress in Bonsai that might be breaking this part? cc @big-spring-14945 / @calm-family-29323
b

big-spring-14945

06/06/2023, 11:51 AM
@bright-policeman-43626 @calm-family-29323 has this been already addressed? Looks like we need a GitHub issue for this, if not!
c

calm-family-29323

06/06/2023, 12:06 PM
it has not afaik
b

busy-angle-93290

08/16/2023, 5:55 PM
Is there a GitHub issue for this that I can follow?
q

quaint-dress-831

08/16/2023, 7:17 PM
@aloof-gpu-13406 @kind-jordan-85111 https://github.com/garden-io/garden/issues/4955
8 Views