From 514a0610ece2a734c210fe82eb44ee9f9014da8a Mon Sep 17 00:00:00 2001 From: nmirasch Date: Thu, 7 Dec 2023 19:19:35 +0100 Subject: [PATCH] Removing platform resources regarding they are provided by the default swf-builder --- .../01-sonataflow_platform.yaml | 16 ---------------- .../dataindex_platform/kustomization.yaml | 2 -- .../usecases/usecase1/kustomization.yaml | 1 - .../usecases/usecase2/kustomization.yaml | 1 - 4 files changed, 20 deletions(-) delete mode 100644 serverless-operator-examples/serverless-workflow-dataindex-use-cases/platforms/dataindex_platform/01-sonataflow_platform.yaml delete mode 100644 serverless-operator-examples/serverless-workflow-dataindex-use-cases/platforms/dataindex_platform/kustomization.yaml diff --git a/serverless-operator-examples/serverless-workflow-dataindex-use-cases/platforms/dataindex_platform/01-sonataflow_platform.yaml b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/platforms/dataindex_platform/01-sonataflow_platform.yaml deleted file mode 100644 index 11b3b3a11f..0000000000 --- a/serverless-operator-examples/serverless-workflow-dataindex-use-cases/platforms/dataindex_platform/01-sonataflow_platform.yaml +++ /dev/null @@ -1,16 +0,0 @@ -apiVersion: sonataflow.org/v1alpha08 -kind: SonataFlowPlatform -metadata: - name: sonataflow-platform -spec: - build: -# kogito-swf-builder and kogito-swf-builder-nightly images already adds: -# kogito-addons-quarkus-events-process and kogito-addons-quarkus-process-management -# we shouldn't need to add them again, unless we want to protect from future changes on these images. -# template: -# buildArgs: -# - name: QUARKUS_EXTENSIONS -# value: org.kie.kogito:kogito-addons-quarkus-events-process:2.0.0-SNAPSHOT,org.kie.kogito:kogito-addons-quarkus-process-management:2.0.0-SNAPSHOT - config: - strategyOptions: - KanikoBuildCacheEnabled: "true" diff --git a/serverless-operator-examples/serverless-workflow-dataindex-use-cases/platforms/dataindex_platform/kustomization.yaml b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/platforms/dataindex_platform/kustomization.yaml deleted file mode 100644 index 56c8eb9642..0000000000 --- a/serverless-operator-examples/serverless-workflow-dataindex-use-cases/platforms/dataindex_platform/kustomization.yaml +++ /dev/null @@ -1,2 +0,0 @@ -resources: -- 01-sonataflow_platform.yaml diff --git a/serverless-operator-examples/serverless-workflow-dataindex-use-cases/usecases/usecase1/kustomization.yaml b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/usecases/usecase1/kustomization.yaml index 60058503e4..c88a2e06d7 100644 --- a/serverless-operator-examples/serverless-workflow-dataindex-use-cases/usecases/usecase1/kustomization.yaml +++ b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/usecases/usecase1/kustomization.yaml @@ -1,4 +1,3 @@ resources: -- ../../platforms/dataindex_platform - ../../infra/service_discovery - ../../workflows/sonataflow-greeting \ No newline at end of file diff --git a/serverless-operator-examples/serverless-workflow-dataindex-use-cases/usecases/usecase2/kustomization.yaml b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/usecases/usecase2/kustomization.yaml index cfa1a8661f..6ea98cd8e5 100644 --- a/serverless-operator-examples/serverless-workflow-dataindex-use-cases/usecases/usecase2/kustomization.yaml +++ b/serverless-operator-examples/serverless-workflow-dataindex-use-cases/usecases/usecase2/kustomization.yaml @@ -1,5 +1,4 @@ resources: -- ../../platforms/dataindex_platform - ../../infra/service_discovery - ../../workflows/sonataflow-greeting - ../../workflows/sonataflow-helloworld