Migration Guide
Version 1.43.0
When migrating to version 1.43.0, you must review the SonataFlowPlatform instances.
Procedure
-
Change the
.spec.platformto.spec.build.config. For example, given that you have:apiVersion: sonataflow.org/v1alpha08 kind: SonataFlowPlatform metadata: name: sonataflow-platform spec: platform: registry: address: quay.io/kiegroup secret: regcredYou should change it to:
apiVersion: sonataflow.org/v1alpha08 kind: SonataFlowPlatform metadata: name: sonataflow-platform spec: build: config: registry: address: quay.io/kiegroup secret: regcred -
Change the
.spec.buildto.spec.build.template. For example, given that you have:apiVersion: sonataflow.org/v1alpha08 kind: SonataFlowPlatform metadata: name: sonataflow-platform spec: build: resources: requests: memory: "64Mi" cpu: "250m" limits: memory: "128Mi" cpu: "500m"You should change it to:
apiVersion: sonataflow.org/v1alpha08 kind: SonataFlowPlatform metadata: name: sonataflow-platform spec: build: template: resources: requests: memory: "64Mi" cpu: "250m" limits: memory: "128Mi" cpu: "500m" -
Change the
.spec.devModeBaseImagetospec.devMode.baseImage. For example, given that you have:apiVersion: sonataflow.org/v1alpha08 kind: SonataFlowPlatform metadata: name: sonataflow-platform spec: devModeBaseImage: quay.io/johndoe/myworkflow:latestYou should change it to:
apiVersion: sonataflow.org/v1alpha08 kind: SonataFlowPlatform metadata: name: sonataflow-platform spec: devMode: baseImage: quay.io/johndoe/myworkflow:latest