kogito-quarkus-examples/ocp-tryout/kogito-shared/kogito-configs.yaml (24 lines of code) (raw):
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
apiVersion: v1
kind: ConfigMap
metadata:
name: kogito-configs
data:
general.namespace: "${project_name}"
general.appsclusterhost: "${apps_cluster_host}"
keycloak.admin.user: 'admin'
keycloak.admin.password: 'admin'
keycloak.realm.json: '/tmp/kogito-realm.json'
keycloak.db.vendor: 'h2'
kogito.persistence.type: jdbc
quarkus.datasource.db-kind: postgresql
quarkus.datasource.username: kogito-user
quarkus.datasource.password: kogito-pass
quarkus.datasource.jdbc.url: jdbc:postgresql://postgresql.${project_name}.svc.cluster.local:5432/kogito}
quarkus.datasource.reactive.url: postgresql://postgresql.${project_name}.svc.cluster.local:5432/kogito}
kafka.bootstrap.servers: 'kafka.${project_name}.svc.cluster.local:9092'
kogito.dataindex.props: '-Dkogito.protobuf.folder=/home/kogito/data/protobufs'
kogito.dataindex.httpurl: 'http://kogito-data-index-postgresql-${project_name}.${apps_cluster_host}'
kogito.dataindex.httpurl.with.graphql: 'http://kogito-data-index-postgresql-${project_name}.${apps_cluster_host}/graphql'
kogito.dataindex.wsurl: 'ws://kogito-data-index-postgresql-${project_name}.${apps_cluster_host}'
kogito.managementconsole.props: '-Dkogito.svg.folder.path=/home/kogito/data/svg -Dkogito.consoles.keycloak.config.url=http://keycloak-${project_name}.${apps_cluster_host}/auth/ -Dkogito.consoles.keycloak.config.health-check-url=http://keycloak-${project_name}.${apps_cluster_host}/auth/realms/kogito/.well-known/openid-configuration'
kogito.jobsservice.props: '-Dquarkus-profile=events-support -D%events-support.kafka.bootstrap.servers=kafka.${project_name}.svc.cluster.local:9092 -D%events-support.mp.messaging.outgoing.kogito-job-service-job-status-events.bootstrap.servers=kafka.${project_name}.svc.cluster.local:9092'