-
Notifications
You must be signed in to change notification settings - Fork 73
Improve error message when ClusterExtension ServiceAccount is missing #1297
Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.Denotes an issue or PR has remained open with no activity and has become stale.
Description
When creating a ClusterExtension with .spec.install.serviceAccount pointing to a non-existent ServiceAccount, Operatort Controller is showing a potentially misleading message in the condition status. (See in example below)
Kubernetes cluster unreachable: Get "https://10.96.0.1:443/version": should not be part of the message.
- lastTransitionTime: "2024-09-16T15:20:44Z"
message: 'Kubernetes cluster unreachable: Get "https://10.96.0.1:443/version":
serviceaccounts "nginx" not found'
observedGeneration: 2
reason: InstallationFailed
status: "False"
type: Installed
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.Denotes an issue or PR has remained open with no activity and has become stale.