Skip to content

Instantly share code, notes, and snippets.

@mancubus77
Last active March 11, 2021 01:28
Show Gist options
  • Save mancubus77/03d1080f75a74b779b89f33af9484e3f to your computer and use it in GitHub Desktop.
Save mancubus77/03d1080f75a74b779b89f33af9484e3f to your computer and use it in GitHub Desktop.
apiVersion: app.kiegroup.org/v2
kind: KieApp
metadata:
name: test-server
spec:
environment: rhdm-production-immutable
upgrades:
enabled: true
commonConfig:
adminUser: adminUser
adminPassword: RedHat
objects:
servers:
- id: kieserv
name: kieserv
deployments: 1
build:
kieServerContainerDeployment: 'test=com.myspace:pam-cicd-test:1.0.0-SNAPSHOT'
gitSource:
uri: 'https://github.com/mancubus77/pam-cicd-test.git'
reference: main
resources:
requests:
memory: 4Gi
limits:
memory: 4Gi
env:
- name: DATASOURCES
value: RHPAM
- name: DROOLS_SERVER_FILTER_CLASSES
value: 'true'
- name: HTTPS_KEYSTORE
value: keystore.jks
- name: HTTPS_KEYSTORE_DIR
value: /etc/kieserver-secret-volume
- name: HTTPS_NAME
value: jboss
- name: HTTPS_PASSWORD
value: XSdRS11B
- name: JAVA_INITIAL_MEM_RATIO
value: '23'
- name: JAVA_MAX_MEM_RATIO
value: '80'
- name: JGROUPS_PING_PROTOCOL
value: openshift.DNS_PING
- name: KIE_ADMIN_PWD
value: xuu49p75
- name: KIE_ADMIN_USER
value: adminUser
- name: KIE_MBEANS
value: enabled
- name: KIE_SERVER_BYPASS_AUTH_USER
value: 'false'
- name: KIE_SERVER_CONTROLLER_PROTOCOL
value: ws
- name: KIE_SERVER_CONTROLLER_SERVICE
value: rhpam-trial-001-rhpamcentr
- name: KIE_SERVER_HOST
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: status.podIP
- name: KIE_SERVER_ID
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: 'metadata.labels[''services.server.kie.org/kie-server-id'']'
- name: KIE_SERVER_MODE
value: DEVELOPMENT
- name: KIE_SERVER_PERSISTENCE_DIALECT
value: org.hibernate.dialect.MySQL8Dialect
- name: KIE_SERVER_PERSISTENCE_DS
value: 'java:/jboss/datasources/rhpam'
- name: KIE_SERVER_ROUTE_NAME
value: rhpam-trial-001-kieserver
- name: KIE_SERVER_STARTUP_STRATEGY
value: OpenShiftStartupStrategy
- name: MAVEN_REPOS
value: 'RHPAMCENTR,EXTERNAL'
- name: OPENSHIFT_DNS_PING_SERVICE_NAME
value: rhpam-trial-001-kieserver-ping
- name: OPENSHIFT_DNS_PING_SERVICE_PORT
value: '8888'
- name: RHPAMCENTR_MAVEN_REPO_PASSWORD
value: xuu49p75
- name: RHPAMCENTR_MAVEN_REPO_PATH
value: /maven2/
- name: RHPAMCENTR_MAVEN_REPO_SERVICE
value: rhpam-trial-001-rhpamcentr
- name: RHPAMCENTR_MAVEN_REPO_USERNAME
value: adminUser
- name: RHPAM_CONNECTION_CHECKER
value: >-
org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLValidConnectionChecker
- name: RHPAM_DATABASE
value: rhpam7
- name: RHPAM_DRIVER
value: mariadb
- name: RHPAM_EXCEPTION_SORTER
value: >-
org.jboss.jca.adapters.jdbc.extensions.mysql.MySQLExceptionSorter
- name: RHPAM_JNDI
value: 'java:/jboss/datasources/rhpam'
- name: RHPAM_JTA
value: 'true'
- name: RHPAM_PASSWORD
value: SK1giO78
- name: RHPAM_SERVICE_HOST
value: rhpam-trial-001-kieserver-mysql
- name: RHPAM_SERVICE_PORT
value: '3306'
- name: RHPAM_USERNAME
value: rhpam
- name: TIMER_SERVICE_DATA_STORE_REFRESH_INTERVAL
value: '60000'
- name: WORKBENCH_SERVICE_NAME
value: rhpam-trial-001-rhpamcentr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment