Skip to content

Upgrading HAProxy Ingress Controller to v1.49.0 fails with pre-upgrade hook timeout: #810

Description

@itsikbar

Root Cause

The CRD pre-upgrade hook job runs before main resources are created. When upgrading with --reset-values, the chart expects ServiceAccount name ingress-kubernetes-ingress (default), but the existing ServiceAccount is ingress-haproxy-ingress-controller from the previous installation. The hook job fails because it cannot find the expected ServiceAccount.

Error: UPGRADE FAILED: pre-upgrade hooks failed: 1 error occurred:
* timed out waiting for the condition

Error creating: pods "ingress-kubernetes-ingress-crdjob-6-" is forbidden: 
error looking up service account mi-ingress-controller/ingress-kubernetes-ingress: 
serviceaccount "ingress-kubernetes-ingress" not found

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions