rhdm70-full.yaml 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592
  1. ---
  2. kind: Template
  3. apiVersion: v1
  4. metadata:
  5. annotations:
  6. description: Application template for Red Hat Decision Manager 7.0 applications with persistent storage.
  7. iconClass: icon-jboss
  8. tags: rhdm,jboss,xpaas
  9. version: 1.4.0
  10. openshift.io/display-name: Red Hat Decision Manager 7.0 applications (Persistent with https)
  11. name: rhdm70-full-persistent
  12. labels:
  13. template: rhdm70-full-persistent
  14. xpaas: 1.4.0
  15. message: New persistent Decision Central and Decision Server applications have been created in your project.
  16. The user name/password for accessing the Decision Central interface is ${KIE_ADMIN_USER}/${KIE_ADMIN_PWD}.
  17. The user name/password for calls to the Decision Server is ${KIE_SERVER_USER}/${KIE_SERVER_PWD}.
  18. Please be sure to create the "decisioncentral-service-account" and "kieserver-service-account" service accounts
  19. and the secrets named "${DECISION_CENTRAL_HTTPS_SECRET}" and "${KIE_SERVER_HTTPS_SECRET}" containing the
  20. ${DECISION_CENTRAL_HTTPS_KEYSTORE} and ${KIE_SERVER_HTTPS_KEYSTORE}files used for serving secure content.
  21. Only stateless API calls to the Decision Server are supported.
  22. parameters:
  23. - displayName: Application Name
  24. description: The name for the application.
  25. name: APPLICATION_NAME
  26. value: myapp
  27. required: true
  28. - displayName: EAP Admin User
  29. description: EAP administrator user name. Use this user account if you need use JBoss EAP command line management.
  30. You can use rsh to access the command line on the pods.
  31. name: ADMIN_USERNAME
  32. value: eapadmin
  33. required: false
  34. - displayName: EAP Admin Password
  35. description: EAP administrator password.
  36. name: ADMIN_PASSWORD
  37. from: "[a-zA-Z]{6}[0-9]{1}!"
  38. generate: expression
  39. required: false
  40. - displayName: KIE Admin User
  41. description: KIE administrator user name. Use this user account to log on to Decision Central.
  42. name: KIE_ADMIN_USER
  43. value: adminUser
  44. required: false
  45. - displayName: KIE Admin Password
  46. description: KIE administrator password.
  47. name: KIE_ADMIN_PWD
  48. from: "[a-zA-Z]{6}[0-9]{1}!"
  49. generate: expression
  50. required: false
  51. - displayName: KIE Server Controller User
  52. description: KIE server controller user name. The Decision Server uses this user account to log on to
  53. Decision Central. (Sets the org.kie.server.controller.user system property).
  54. name: KIE_SERVER_CONTROLLER_USER
  55. value: controllerUser
  56. required: false
  57. - displayName: KIE Server Controller Password
  58. description: KIE server controller password (sets the org.kie.server.controller.pwd system property).
  59. name: KIE_SERVER_CONTROLLER_PWD
  60. from: "[a-zA-Z]{6}[0-9]{1}!"
  61. generate: expression
  62. required: false
  63. - displayName: KIE Server User
  64. description: KIE execution server user name. Use this user account for API calls to the Decision Server.
  65. (Sets the org.kie.server.user system property).
  66. name: KIE_SERVER_USER
  67. value: executionUser
  68. required: false
  69. - displayName: KIE Server Password
  70. description: KIE execution server password (sets the org.kie.server.pwd system property).
  71. name: KIE_SERVER_PWD
  72. from: "[a-zA-Z]{6}[0-9]{1}!"
  73. generate: expression
  74. required: false
  75. - displayName: KIE Server ID
  76. description: Decision server identifier. Determines the template ID in Decision Central or controller. If this parameter is left blank, it is set using the $HOSTNAME environment variable or a random value. (Sets the org.kie.server.id system property).
  77. name: KIE_SERVER_ID
  78. value: ''
  79. required: false
  80. - displayName: KIE Server Bypass Auth User
  81. description: KIE execution server bypass auth user. If this parameter is set to true, the Decision Server accepts
  82. API calls without user account authorization. (Sets the org.kie.server.bypass.auth.user system property).
  83. name: KIE_SERVER_BYPASS_AUTH_USER
  84. value: 'false'
  85. required: false
  86. - displayName: KIE MBeans
  87. description: KIE execution server MBeans enabled/disabled. These MBeans provide monitoring information. (Sets the
  88. kie.mbeans and kie.scanner.mbeans system properties).
  89. name: KIE_MBEANS
  90. value: enabled
  91. required: false
  92. - displayName: Drools Server Filter Classes
  93. description: KIE execution server class filtering. When this parameter is set to true, the Decision Server extension
  94. accepts custom classes annotated by the XmlRootElement or Remotable annotations only. Setting to true is preferable
  95. for performance, but some custom decision services might require false. (Sets the org.drools.server.filter.classes
  96. system property).
  97. name: DROOLS_SERVER_FILTER_CLASSES
  98. value: 'true'
  99. required: false
  100. - displayName: Decision Central Custom http Route Hostname
  101. description: 'Custom hostname for http service route. Leave blank for default hostname,
  102. example: <application-name>-rhdmcentr-<project>.<default-domain-suffix>'
  103. name: DECISION_CENTRAL_HOSTNAME_HTTP
  104. value: ''
  105. required: false
  106. - displayName: Decision Central Custom https Route Hostname
  107. description: 'Custom hostname for https service route. Leave blank for default hostname,
  108. example: secure-<application-name>-rhdmcentr-<project>.<default-domain-suffix>'
  109. name: DECISION_CENTRAL_HOSTNAME_HTTPS
  110. value: ''
  111. required: false
  112. - displayName: Decision Server Custom http Route Hostname
  113. description: 'Custom hostname for http service route. Leave blank for default hostname,
  114. example: <application-name>-kieserver-<project>.<default-domain-suffix>'
  115. name: EXECUTION_SERVER_HOSTNAME_HTTP
  116. value: ''
  117. required: false
  118. - displayName: Decision Server Custom https Route Hostname
  119. description: 'Custom hostname for https service route. Leave blank for default hostname,
  120. example: secure-<application-name>-kieserver-<project>.<default-domain-suffix>'
  121. name: EXECUTION_SERVER_HOSTNAME_HTTPS
  122. value: ''
  123. required: false
  124. - displayName: Decision Central Server Keystore Secret Name
  125. description: The name of the secret containing the keystore file for Decision Central.
  126. name: DECISION_CENTRAL_HTTPS_SECRET
  127. value: decisioncentral-app-secret
  128. required: false
  129. - displayName: Decision Central Server Keystore Filename
  130. description: The name of the keystore file within the secret.
  131. name: DECISION_CENTRAL_HTTPS_KEYSTORE
  132. value: keystore.jks
  133. required: false
  134. - displayName: Decision Central Server Certificate Name
  135. description: The name associated with the server certificate.
  136. name: DECISION_CENTRAL_HTTPS_NAME
  137. value: jboss
  138. required: false
  139. - displayName: Decision Central Server Keystore Password
  140. description: The password for the keystore and certificate.
  141. name: DECISION_CENTRAL_HTTPS_PASSWORD
  142. value: mykeystorepass
  143. required: false
  144. - displayName: KIE Server Keystore Secret Name
  145. description: The name of the secret containing the keystore file for Decision Server.
  146. name: KIE_SERVER_HTTPS_SECRET
  147. value: kieserver-app-secret
  148. required: false
  149. - displayName: KIE Server Keystore Filename
  150. description: The name of the keystore file within the secret.
  151. name: KIE_SERVER_HTTPS_KEYSTORE
  152. value: keystore.jks
  153. required: false
  154. - displayName: KIE Server Certificate Name
  155. description: The name associated with the server certificate.
  156. name: KIE_SERVER_HTTPS_NAME
  157. value: jboss
  158. required: false
  159. - displayName: KIE Server Keystore Password
  160. description: The password for the keystore and certificate.
  161. name: KIE_SERVER_HTTPS_PASSWORD
  162. value: mykeystorepass
  163. required: false
  164. - displayName: ImageStream Namespace
  165. description: Namespace in which the ImageStreams for Red Hat Middleware images are
  166. installed. These ImageStreams are normally installed in the openshift namespace.
  167. Modify this setting only if you have installed the ImageStreams in a different
  168. namespace/project.
  169. name: IMAGE_STREAM_NAMESPACE
  170. value: openshift
  171. required: true
  172. - displayName: ImageStream Tag
  173. description: A named pointer to an image in an image stream. Default is "1.1".
  174. name: IMAGE_STREAM_TAG
  175. value: "1.1"
  176. required: false
  177. - displayName: Maven repository URL
  178. description: Fully qualified URL to a Maven repository or service.
  179. name: MAVEN_REPO_URL
  180. example: http://nexus.nexus-project.svc.cluster.local:8081/nexus/content/groups/public/
  181. required: false
  182. - displayName: Maven repository username
  183. description: Username to access the Maven repository, if required.
  184. name: MAVEN_REPO_USERNAME
  185. required: false
  186. - displayName: Maven repository password
  187. description: Password to access the Maven repository, if required.
  188. name: MAVEN_REPO_PASSWORD
  189. required: false
  190. - displayName: Username for the Maven service hosted by Decision Central
  191. description: Username to access the Maven service hosted by Decision Central inside EAP.
  192. name: DECISION_CENTRAL_MAVEN_USERNAME
  193. required: true
  194. value: mavenUser
  195. - displayName: Password for the Maven service hosted by Decision Central
  196. description: Password to access the Maven service hosted by Decision Central inside EAP.
  197. name: DECISION_CENTRAL_MAVEN_PASSWORD
  198. from: "[a-zA-Z]{6}[0-9]{1}!"
  199. generate: expression
  200. required: true
  201. - displayName: Decision Central Volume Capacity
  202. description: Size of the persistent storage for Decision Central's runtime data.
  203. name: DECISION_CENTRAL_VOLUME_CAPACITY
  204. value: 1Gi
  205. required: true
  206. - displayName: Decision Central Container Memory Limit
  207. description: Decision Central Container memory limit
  208. name: DECISION_CENTRAL_MEMORY_LIMIT
  209. value: 2Gi
  210. required: false
  211. - displayName: Execution Server Container Memory Limit
  212. description: Execution Server Container memory limit
  213. name: EXCECUTION_SERVER_MEMORY_LIMIT
  214. value: 1Gi
  215. required: false
  216. objects:
  217. - kind: Service
  218. apiVersion: v1
  219. spec:
  220. ports:
  221. - port: 8080
  222. targetPort: 8080
  223. selector:
  224. deploymentConfig: "${APPLICATION_NAME}-rhdmcentr"
  225. metadata:
  226. name: "${APPLICATION_NAME}-rhdmcentr"
  227. labels:
  228. application: "${APPLICATION_NAME}"
  229. annotations:
  230. description: The Decision Central web server's http port.
  231. - kind: Service
  232. apiVersion: v1
  233. spec:
  234. ports:
  235. - port: 8443
  236. targetPort: 8443
  237. selector:
  238. deploymentConfig: "${APPLICATION_NAME}-rhdmcentr"
  239. metadata:
  240. name: secure-${APPLICATION_NAME}-rhdmcentr
  241. labels:
  242. application: "${APPLICATION_NAME}"
  243. annotations:
  244. description: The Decision Central web server's https port.
  245. - kind: Service
  246. apiVersion: v1
  247. spec:
  248. ports:
  249. - port: 8001
  250. targetPort: 8001
  251. selector:
  252. deploymentConfig: "${APPLICATION_NAME}-rhdmcentr"
  253. metadata:
  254. name: ${APPLICATION_NAME}-rhdmcentr-git-ssh
  255. labels:
  256. application: "${APPLICATION_NAME}"
  257. annotations:
  258. description: The Decision Central Git SSH port
  259. - kind: Service
  260. apiVersion: v1
  261. spec:
  262. ports:
  263. - port: 8080
  264. targetPort: 8080
  265. selector:
  266. deploymentConfig: "${APPLICATION_NAME}-kieserver"
  267. metadata:
  268. name: "${APPLICATION_NAME}-kieserver"
  269. labels:
  270. application: "${APPLICATION_NAME}"
  271. annotations:
  272. description: The KIE server web server's http port.
  273. - kind: Service
  274. apiVersion: v1
  275. spec:
  276. ports:
  277. - port: 8443
  278. targetPort: 8443
  279. selector:
  280. deploymentConfig: "${APPLICATION_NAME}-kieserver"
  281. metadata:
  282. name: secure-${APPLICATION_NAME}-kieserver
  283. labels:
  284. application: "${APPLICATION_NAME}"
  285. annotations:
  286. description: The KIE server web server's https port.
  287. - kind: Route
  288. apiVersion: v1
  289. id: "${APPLICATION_NAME}-rhdmcentr-http"
  290. metadata:
  291. name: "${APPLICATION_NAME}-rhdmcentr"
  292. labels:
  293. application: "${APPLICATION_NAME}"
  294. annotations:
  295. description: Route for Decision Central's http service.
  296. haproxy.router.openshift.io/timeout: 60s
  297. spec:
  298. host: "${DECISION_CENTRAL_HOSTNAME_HTTP}"
  299. to:
  300. name: "${APPLICATION_NAME}-rhdmcentr"
  301. - kind: Route
  302. apiVersion: v1
  303. id: "${APPLICATION_NAME}-rhdmcentr-https"
  304. metadata:
  305. name: secure-${APPLICATION_NAME}-rhdmcentr
  306. labels:
  307. application: "${APPLICATION_NAME}"
  308. annotations:
  309. description: Route for Decision Central's https service.
  310. haproxy.router.openshift.io/timeout: 60s
  311. spec:
  312. host: "${DECISION_CENTRAL_HOSTNAME_HTTPS}"
  313. to:
  314. name: secure-${APPLICATION_NAME}-rhdmcentr
  315. tls:
  316. termination: passthrough
  317. - kind: Route
  318. apiVersion: v1
  319. id: "${APPLICATION_NAME}-kieserver-http"
  320. metadata:
  321. name: "${APPLICATION_NAME}-kieserver"
  322. labels:
  323. application: "${APPLICATION_NAME}"
  324. annotations:
  325. description: Route for KIE server's http service.
  326. spec:
  327. host: "${EXECUTION_SERVER_HOSTNAME_HTTP}"
  328. to:
  329. name: "${APPLICATION_NAME}-kieserver"
  330. - kind: Route
  331. apiVersion: v1
  332. id: "${APPLICATION_NAME}-kieserver-https"
  333. metadata:
  334. name: secure-${APPLICATION_NAME}-kieserver
  335. labels:
  336. application: "${APPLICATION_NAME}"
  337. annotations:
  338. description: Route for KIE server's https service.
  339. spec:
  340. host: "${EXECUTION_SERVER_HOSTNAME_HTTPS}"
  341. to:
  342. name: secure-${APPLICATION_NAME}-kieserver
  343. tls:
  344. termination: passthrough
  345. - kind: DeploymentConfig
  346. apiVersion: v1
  347. metadata:
  348. name: "${APPLICATION_NAME}-rhdmcentr"
  349. labels:
  350. application: "${APPLICATION_NAME}"
  351. spec:
  352. strategy:
  353. type: Recreate
  354. triggers:
  355. - type: ImageChange
  356. imageChangeParams:
  357. automatic: true
  358. containerNames:
  359. - "${APPLICATION_NAME}-rhdmcentr"
  360. from:
  361. kind: ImageStreamTag
  362. namespace: "${IMAGE_STREAM_NAMESPACE}"
  363. name: "rhdm70-decisioncentral-openshift:${IMAGE_STREAM_TAG}"
  364. - type: ConfigChange
  365. replicas: 1
  366. selector:
  367. deploymentConfig: "${APPLICATION_NAME}-rhdmcentr"
  368. template:
  369. metadata:
  370. name: "${APPLICATION_NAME}-rhdmcentr"
  371. labels:
  372. deploymentConfig: "${APPLICATION_NAME}-rhdmcentr"
  373. application: "${APPLICATION_NAME}"
  374. spec:
  375. terminationGracePeriodSeconds: 60
  376. containers:
  377. - name: "${APPLICATION_NAME}-rhdmcentr"
  378. image: rhdm70-decisioncentral-openshift
  379. imagePullPolicy: Always
  380. resources:
  381. limits:
  382. memory: "${DECISION_CENTRAL_MEMORY_LIMIT}"
  383. volumeMounts:
  384. - name: decisioncentral-keystore-volume
  385. mountPath: "/etc/decisioncentral-secret-volume"
  386. readOnly: true
  387. - name: "${APPLICATION_NAME}-rhdmcentr-pvol"
  388. mountPath: "/opt/eap/standalone/data/bpmsuite"
  389. livenessProbe:
  390. exec:
  391. command:
  392. - "/bin/bash"
  393. - "-c"
  394. - "/opt/eap/bin/livenessProbe.sh"
  395. readinessProbe:
  396. exec:
  397. command:
  398. - "/bin/bash"
  399. - "-c"
  400. - "/opt/eap/bin/readinessProbe.sh"
  401. ports:
  402. - name: jolokia
  403. containerPort: 8778
  404. protocol: TCP
  405. - name: http
  406. containerPort: 8080
  407. protocol: TCP
  408. - name: https
  409. containerPort: 8443
  410. protocol: TCP
  411. - name: git-ssh
  412. containerPort: 8001
  413. protocol: TCP
  414. env:
  415. - name: KIE_ADMIN_PWD
  416. value: "${KIE_ADMIN_PWD}"
  417. - name: KIE_ADMIN_USER
  418. value: "${KIE_ADMIN_USER}"
  419. - name: KIE_MBEANS
  420. value: "${KIE_MBEANS}"
  421. - name: KIE_SERVER_CONTROLLER_PWD
  422. value: "${KIE_SERVER_CONTROLLER_PWD}"
  423. - name: KIE_SERVER_CONTROLLER_USER
  424. value: "${KIE_SERVER_CONTROLLER_USER}"
  425. - name: KIE_SERVER_PWD
  426. value: "${KIE_SERVER_PWD}"
  427. - name: KIE_SERVER_USER
  428. value: "${KIE_SERVER_USER}"
  429. - name: MAVEN_REPO_URL
  430. value: "${MAVEN_REPO_URL}"
  431. - name: MAVEN_REPO_USERNAME
  432. value: "${MAVEN_REPO_USERNAME}"
  433. - name: MAVEN_REPO_PASSWORD
  434. value: "${MAVEN_REPO_PASSWORD}"
  435. - name: KIE_MAVEN_USER
  436. value: "${DECISION_CENTRAL_MAVEN_USERNAME}"
  437. - name: KIE_MAVEN_PWD
  438. value: "${DECISION_CENTRAL_MAVEN_PASSWORD}"
  439. - name: HTTPS_KEYSTORE_DIR
  440. value: "/etc/decisioncentral-secret-volume"
  441. - name: HTTPS_KEYSTORE
  442. value: "${DECISION_CENTRAL_HTTPS_KEYSTORE}"
  443. - name: HTTPS_NAME
  444. value: "${DECISION_CENTRAL_HTTPS_NAME}"
  445. - name: HTTPS_PASSWORD
  446. value: "${DECISION_CENTRAL_HTTPS_PASSWORD}"
  447. - name: ADMIN_USERNAME
  448. value: "${ADMIN_USERNAME}"
  449. - name: ADMIN_PASSWORD
  450. value: "${ADMIN_PASSWORD}"
  451. - name: PROBE_IMPL
  452. value: probe.eap.jolokia.EapProbe
  453. - name: PROBE_DISABLE_BOOT_ERRORS_CHECK
  454. value: 'true'
  455. volumes:
  456. - name: decisioncentral-keystore-volume
  457. secret:
  458. secretName: "${DECISION_CENTRAL_HTTPS_SECRET}"
  459. - name: "${APPLICATION_NAME}-rhdmcentr-pvol"
  460. persistentVolumeClaim:
  461. claimName: "${APPLICATION_NAME}-rhdmcentr-claim"
  462. - kind: DeploymentConfig
  463. apiVersion: v1
  464. metadata:
  465. name: "${APPLICATION_NAME}-kieserver"
  466. labels:
  467. application: "${APPLICATION_NAME}"
  468. spec:
  469. strategy:
  470. type: Recreate
  471. triggers:
  472. - type: ImageChange
  473. imageChangeParams:
  474. automatic: true
  475. containerNames:
  476. - "${APPLICATION_NAME}-kieserver"
  477. from:
  478. kind: ImageStreamTag
  479. namespace: "${IMAGE_STREAM_NAMESPACE}"
  480. name: "rhdm70-kieserver-openshift:${IMAGE_STREAM_TAG}"
  481. - type: ConfigChange
  482. replicas: 1
  483. selector:
  484. deploymentConfig: "${APPLICATION_NAME}-kieserver"
  485. template:
  486. metadata:
  487. name: "${APPLICATION_NAME}-kieserver"
  488. labels:
  489. deploymentConfig: "${APPLICATION_NAME}-kieserver"
  490. application: "${APPLICATION_NAME}"
  491. spec:
  492. terminationGracePeriodSeconds: 60
  493. containers:
  494. - name: "${APPLICATION_NAME}-kieserver"
  495. image: rhdm70-kieserver-openshift
  496. imagePullPolicy: Always
  497. resources:
  498. limits:
  499. memory: "${EXCECUTION_SERVER_MEMORY_LIMIT}"
  500. volumeMounts:
  501. - name: kieserver-keystore-volume
  502. mountPath: "/etc/kieserver-secret-volume"
  503. readOnly: true
  504. livenessProbe:
  505. exec:
  506. command:
  507. - "/bin/bash"
  508. - "-c"
  509. - "/opt/eap/bin/livenessProbe.sh"
  510. readinessProbe:
  511. exec:
  512. command:
  513. - "/bin/bash"
  514. - "-c"
  515. - "/opt/eap/bin/readinessProbe.sh"
  516. ports:
  517. - name: jolokia
  518. containerPort: 8778
  519. protocol: TCP
  520. - name: http
  521. containerPort: 8080
  522. protocol: TCP
  523. - name: https
  524. containerPort: 8443
  525. protocol: TCP
  526. env:
  527. - name: DROOLS_SERVER_FILTER_CLASSES
  528. value: "${DROOLS_SERVER_FILTER_CLASSES}"
  529. - name: KIE_ADMIN_PWD
  530. value: "${KIE_ADMIN_PWD}"
  531. - name: KIE_ADMIN_USER
  532. value: "${KIE_ADMIN_USER}"
  533. - name: KIE_MBEANS
  534. value: "${KIE_MBEANS}"
  535. - name: KIE_SERVER_BYPASS_AUTH_USER
  536. value: "${KIE_SERVER_BYPASS_AUTH_USER}"
  537. - name: KIE_SERVER_CONTROLLER_PWD
  538. value: "${KIE_SERVER_CONTROLLER_PWD}"
  539. - name: KIE_SERVER_CONTROLLER_SERVICE
  540. value: "${APPLICATION_NAME}-rhdmcentr"
  541. - name: KIE_SERVER_CONTROLLER_USER
  542. value: "${KIE_SERVER_CONTROLLER_USER}"
  543. - name: KIE_SERVER_ID
  544. value: "${KIE_SERVER_ID}"
  545. - name: KIE_SERVER_HOST
  546. valueFrom:
  547. fieldRef:
  548. fieldPath: status.podIP
  549. - name: KIE_SERVER_PWD
  550. value: "${KIE_SERVER_PWD}"
  551. - name: KIE_SERVER_USER
  552. value: "${KIE_SERVER_USER}"
  553. - name: MAVEN_REPOS
  554. value: "RHDMCENTR,EXTERNAL"
  555. - name: RHDMCENTR_MAVEN_REPO_SERVICE
  556. value: "${APPLICATION_NAME}-rhdmcentr"
  557. - name: RHDMCENTR_MAVEN_REPO_PATH
  558. value: "/maven2/"
  559. - name: RHDMCENTR_MAVEN_REPO_USERNAME
  560. value: "${DECISION_CENTRAL_MAVEN_USERNAME}"
  561. - name: RHDMCENTR_MAVEN_REPO_PASSWORD
  562. value: "${DECISION_CENTRAL_MAVEN_PASSWORD}"
  563. - name: EXTERNAL_MAVEN_REPO_URL
  564. value: "${MAVEN_REPO_URL}"
  565. - name: EXTERNAL_MAVEN_REPO_USERNAME
  566. value: "${MAVEN_REPO_USERNAME}"
  567. - name: EXTERNAL_MAVEN_REPO_PASSWORD
  568. value: "${MAVEN_REPO_PASSWORD}"
  569. - name: HTTPS_KEYSTORE_DIR
  570. value: "/etc/kieserver-secret-volume"
  571. - name: HTTPS_KEYSTORE
  572. value: "${KIE_SERVER_HTTPS_KEYSTORE}"
  573. - name: HTTPS_NAME
  574. value: "${KIE_SERVER_HTTPS_NAME}"
  575. - name: HTTPS_PASSWORD
  576. value: "${KIE_SERVER_HTTPS_PASSWORD}"
  577. volumes:
  578. - name: kieserver-keystore-volume
  579. secret:
  580. secretName: "${KIE_SERVER_HTTPS_SECRET}"
  581. - apiVersion: v1
  582. kind: PersistentVolumeClaim
  583. metadata:
  584. name: "${APPLICATION_NAME}-rhdmcentr-claim"
  585. labels:
  586. application: "${APPLICATION_NAME}"
  587. spec:
  588. accessModes:
  589. - ReadWriteOnce
  590. resources:
  591. requests:
  592. storage: "${DECISION_CENTRAL_VOLUME_CAPACITY}"