-
Bug
-
Resolution: Done
-
Major
-
1.5.0
-
False
-
-
False
-
-
Description of the problem:
By default, the SonataflowClusterPlatform CR created by the operator is created with an incorrect reference to a non-existent sonataflow platform CR:
oc get sonataflowclusterplatform -A -o yaml
apiVersion: v1
items:
- apiVersion: sonataflow.org/v1alpha08
kind: SonataFlowClusterPlatform
metadata:
creationTimestamp: "2025-04-03T05:38:07Z"
generation: 2
labels:
rhdh.redhat.com/created-by: orchestrator
name: cluster-platform
resourceVersion: "67134"
uid: f2b885b9-89a1-4a44-bb11-3521cebf9315
spec:
capabilities:
workflows:
- services
platformRef:
name: cluster-platform
namespace: sonataflow-infra
status:
conditions:
- lastUpdateTime: "2025-04-03T05:38:07Z"
message: cluster-platform platform does not exist in sonataflow-infra namespace.
reason: PlatformNotFound
status: "False"
type: Succeed
observedGeneration: 2
version: "0.8"
kind: List
metadata:
resourceVersion: ""
The default sonataflow-platform resource created by the operator is called sonataflow-platform:
oc get sfp -A NAMESPACE NAME CLUSTER READY REASON sonataflow-infra sonataflow-platform openshift True
How reproducible: 100%
Steps to reproduce:
1. Deploy orchestrator operator 1.5.0-2025-04-01
2. Deploy orchestrator CR
3. After sonataflow operators finish deploying, look at sonataflow cluster platform CR's status
Actual results: SFCP ** CR has incorrect reference
Expected results: CR should have correct reference