wmedvede commented on PR #2790: URL: https://github.com/apache/incubator-kie-tools/pull/2790#issuecomment-2615992495
Hi @rhkp , I have built the db-migrator locally and pushed to my quay, etc, and also the latest changes in this RP. Then, after installing everything in my OpenShift, etc, when deploying a SonataFlowPlatorm I go this error:  This is the platform I was working with: apiVersion: sonataflow.org/v1alpha08 kind: SonataFlowPlatform metadata: name: sonataflow-platform spec: services: dataIndex: enabled: true persistence: dbMigrationStrategy: job postgresql: serviceRef: name: postgres databaseName: sonataflow databaseSchema: data-index-schema secretRef: name: postgres-secrets userKey: POSTGRESQL_USER passwordKey: POSTGRESQL_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;' ] jobService: enabled: true persistence: dbMigrationStrategy: job postgresql: serviceRef: name: postgres databaseName: sonataflow databaseSchema: jobs-service-schema secretRef: name: postgres-secrets userKey: POSTGRESQL_USER passwordKey: POSTGRESQL_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;' ] However, the migrator tool image works well if I execute it locally. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
