If a user provides not proper EventMesh secret in case of EventMesh backend, the eventing CR has error state. However, it needs to have warning as it is a user caused error.
Expected result
Eventing CR status:
...
- lastTransitionTime: "2024-02-09T13:37:36Z"
message: 'invalid EventMesh secret for Event Publisher:
messaging is missing from EM secret'
reason: EventMeshSubscriptionManagerFailed
status: "False"
type: SubscriptionManagerReady
state: Warning
Actual result
Eventing CR status:
...
- lastTransitionTime: "2024-02-09T13:37:36Z"
message: 'failed to sync Publisher Proxy secret: invalid secret for Event Publisher:
messaging is missing from EM secret'
reason: EventMeshSubscriptionManagerFailed
status: "False"
type: SubscriptionManagerReady
state: Error
Steps to reproduce
make wrong event mesh secret format
Description
If a user provides not proper EventMesh secret in case of EventMesh backend, the eventing CR has error state. However, it needs to have warning as it is a user caused error.
Expected result Eventing CR status:
Actual result Eventing CR status:
Steps to reproduce make wrong event mesh secret format