What would you like to be added?
A clear reconciliation error message when a managed service resource (e.g. Crossplane, Flux) references a ManagedControlPlaneV2 that doesn't exist.
Example
A user applies:
apiVersion: flux.services.openmcp.cloud/v1alpha1
kind: Flux
metadata:
name: test
namespace: default
spec:
version: 2.16.2
If no ManagedControlPlaneV2 named test exists in namespace default, the reconciler should set a clear error condition on the resource explaining the problem.
Why is this needed?
Currently, users get no feedback when creating a managed service instance that references a non-existent ManagedControlPlaneV2. This makes it hard to understand what went wrong.
Acceptance Criteria
What would you like to be added?
A clear reconciliation error message when a managed service resource (e.g. Crossplane, Flux) references a
ManagedControlPlaneV2that doesn't exist.Example
A user applies:
If no
ManagedControlPlaneV2namedtestexists in namespacedefault, the reconciler should set a clear error condition on the resource explaining the problem.Why is this needed?
Currently, users get no feedback when creating a managed service instance that references a non-existent
ManagedControlPlaneV2. This makes it hard to understand what went wrong.Acceptance Criteria
ManagedControlPlaneV2exists, set a clear error condition