forked from apache/incubator-kie-kogito-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kie-kogito-examples-1922: Serverless Workflow Operator DataIndex Use …
…cases updates (apache#1923)
- Loading branch information
1 parent
1ffbc4c
commit f9aca38
Showing
18 changed files
with
87 additions
and
239 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
92 changes: 0 additions & 92 deletions
92
...erator-examples/serverless-workflow-dataindex-use-cases/infra/dataindex/02-dataindex.yaml
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
...r-examples/serverless-workflow-dataindex-use-cases/infra/dataindex/application.properties
This file was deleted.
Oops, something went wrong.
36 changes: 0 additions & 36 deletions
36
...rless-workflow-dataindex-use-cases/infra/service_discovery/01-service-discovery-role.yaml
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
...orkflow-dataindex-use-cases/infra/service_discovery/02-service-discovery-rolebinding.yaml
This file was deleted.
Oops, something went wrong.
3 changes: 0 additions & 3 deletions
3
...amples/serverless-workflow-dataindex-use-cases/infra/service_discovery/kustomization.yaml
This file was deleted.
Oops, something went wrong.
File renamed without changes.
26 changes: 26 additions & 0 deletions
26
...-dataindex-use-cases/platforms/data_index_as_platform_service/02-sonataflow_platform.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
apiVersion: sonataflow.org/v1alpha08 | ||
kind: SonataFlowPlatform | ||
metadata: | ||
name: sonataflow-platform | ||
spec: | ||
build: | ||
config: | ||
strategyOptions: | ||
KanikoBuildCacheEnabled: "false" | ||
services: | ||
dataIndex: | ||
enabled: true | ||
persistence: | ||
postgresql: | ||
jdbcUrl: jdbc:postgresql://postgres:5432/sonataflow?currentSchema=data-index-service | ||
secretRef: | ||
name: postgres-secrets | ||
userKey: POSTGRES_USER | ||
passwordKey: POSTGRES_PASSWORD | ||
podTemplate: | ||
initContainers: | ||
- name: init-postgres | ||
image: registry.access.redhat.com/ubi9/ubi-minimal:latest | ||
imagePullPolicy: IfNotPresent | ||
command: [ 'sh', '-c', 'until (echo 1 > /dev/tcp/postgres.$(cat /var/run/secrets/kubernetes.io/serviceaccount/namespace).svc.cluster.local/5432) >/dev/null 2>&1; do echo "Waiting for postgres server"; sleep 3; done;' ] | ||
|
17 changes: 17 additions & 0 deletions
17
...dex-use-cases/platforms/data_index_as_platform_service/03-data-index-service-ingress.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
apiVersion: networking.k8s.io/v1 | ||
kind: Ingress | ||
metadata: | ||
name: data-index-service-ingress | ||
annotations: | ||
nginx.ingress.kubernetes.io/app-root: / | ||
spec: | ||
rules: | ||
- http: | ||
paths: | ||
- path: / | ||
pathType: Prefix | ||
backend: | ||
service: | ||
name: sonataflow-platform-data-index-service | ||
port: | ||
number: 80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
...tor-examples/serverless-workflow-dataindex-use-cases/usecases/usecase1/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
resources: | ||
- ../../infra/service_discovery | ||
- ../../workflows/sonataflow-greeting |
1 change: 0 additions & 1 deletion
1
...tor-examples/serverless-workflow-dataindex-use-cases/usecases/usecase2/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
resources: | ||
- ../../infra/service_discovery | ||
- ../../workflows/sonataflow-greeting | ||
- ../../workflows/sonataflow-helloworld |
File renamed without changes.
Oops, something went wrong.