Migration Guide
Version 1.43.0
When migrating to version 1.43.0, you must review the SonataFlowPlatform
instances.
Procedure
-
Change the
.spec.platform
to.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: regcred
You 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.build
to.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.devModeBaseImage
tospec.devMode.baseImage
. For example, given that you have:apiVersion: sonataflow.org/v1alpha08 kind: SonataFlowPlatform metadata: name: sonataflow-platform spec: devModeBaseImage: quay.io/johndoe/myworkflow:latest
You should change it to:
apiVersion: sonataflow.org/v1alpha08 kind: SonataFlowPlatform metadata: name: sonataflow-platform spec: devMode: baseImage: quay.io/johndoe/myworkflow:latest