datavirt63-extensions-support-s2i.json 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820
  1. {
  2. "kind": "Template",
  3. "apiVersion": "v1",
  4. "metadata": {
  5. "annotations": {
  6. "iconClass": "icon-jboss",
  7. "description": "Application template for JBoss Data Virtualization 6.3 services built using S2I. Includes support for installing extensions (e.g. third-party DB drivers) and the ability to configure certificates for serving secure content.",
  8. "tags": "jdv,datavirt,jboss,xpaas",
  9. "version": "1.4.0",
  10. "openshift.io/display-name": "Red Hat JBoss Data Virtualization 6.3 (with SSL and Extensions)"
  11. },
  12. "name": "datavirt63-extensions-support-s2i"
  13. },
  14. "labels": {
  15. "template": "datavirt63-extensions-support-s2i",
  16. "xpaas": "1.4.0"
  17. },
  18. "message": "A new data service has been created in your project. The username/password for accessing the service is ${TEIID_USERNAME}/${TEIID_PASSWORD}. Please be sure to create the \"${SERVICE_ACCOUNT_NAME}\" service account and the following secrets: \"${CONFIGURATION_NAME}\" containing the datasource configuration details required by the deployed VDB(s); \"${HTTPS_SECRET}\" containing the ${HTTPS_KEYSTORE} file used for serving secure content; \"${JGROUPS_ENCRYPT_SECRET}\" containing the ${JGROUPS_ENCRYPT_KEYSTORE} file used for securing JGroups communications.",
  19. "parameters": [
  20. {
  21. "description": "The name for the application.",
  22. "displayName": "Application Name",
  23. "name": "APPLICATION_NAME",
  24. "value": "datavirt-app",
  25. "required": true
  26. },
  27. {
  28. "description": "The name of the secret containing configuration properties for the data sources.",
  29. "displayName": "Configuration Secret Name",
  30. "name": "CONFIGURATION_NAME",
  31. "value": "datavirt-app-config",
  32. "required": true
  33. },
  34. {
  35. "description": "Specify a custom hostname for the http route. Leave blank to use default hostname, e.g.: <service-name>-<project>.<default-domain-suffix>",
  36. "displayName": "Custom http Route Hostname",
  37. "name": "HOSTNAME_HTTP",
  38. "value": "",
  39. "required": false
  40. },
  41. {
  42. "description": "Specify a custom hostname for the https route. Leave blank to use default hostname, e.g.: secure-<service-name>-<project>.<default-domain-suffix>",
  43. "displayName": "Custom https Route Hostname",
  44. "name": "HOSTNAME_HTTPS",
  45. "value": "",
  46. "required": false
  47. },
  48. {
  49. "description": "Specify a custom hostname for the JDBC route. Leave blank to use default hostname, e.g.: secure-<service-name>-<project>.<default-domain-suffix>",
  50. "displayName": "Custom JDBC Route Hostname",
  51. "name": "HOSTNAME_JDBC",
  52. "value": "",
  53. "required": false
  54. },
  55. {
  56. "description": "The URL of the repository with your application source code.",
  57. "displayName": "Git Repository URL",
  58. "name": "SOURCE_REPOSITORY_URL",
  59. "value": "https://github.com/jboss-openshift/openshift-quickstarts",
  60. "required": true
  61. },
  62. {
  63. "description": "Set this to a branch name, tag or other ref of your repository if you are not using the default branch.",
  64. "displayName": "Git Reference",
  65. "name": "SOURCE_REPOSITORY_REF",
  66. "value": "master",
  67. "required": false
  68. },
  69. {
  70. "description": "Set this to the relative path to your project if it is not in the root of your repository.",
  71. "displayName": "Context Directory",
  72. "name": "CONTEXT_DIR",
  73. "value": "datavirt/dynamicvdb-datafederation/app",
  74. "required": false
  75. },
  76. {
  77. "description": "The URL of the repository with source code for the extensions image. The image should have all modules, etc., placed in the \"/extensions/\" directory in the image. If the contents are in a different directory, the sourcePath for the ImageSource in the BuildConfig must be modified.",
  78. "displayName": "Extensions Git Repository URL",
  79. "name": "EXTENSIONS_REPOSITORY_URL",
  80. "value": "https://github.com/jboss-openshift/openshift-quickstarts",
  81. "required": true
  82. },
  83. {
  84. "description": "Set this to a branch name, tag or other ref of your extensions repository if you are not using the default branch.",
  85. "displayName": "Extensions Git Reference",
  86. "name": "EXTENSIONS_REPOSITORY_REF",
  87. "value": "master",
  88. "required": false
  89. },
  90. {
  91. "description": "Set this to the relative path to your project if it is not in the root of your extensions repository.",
  92. "displayName": "Extensions Context Directory",
  93. "name": "EXTENSIONS_DIR",
  94. "value": "datavirt/derby-driver-image",
  95. "required": false
  96. },
  97. {
  98. "description": "Set this to the relative path to the Dockerfile in your extensions directory.",
  99. "displayName": "Extensions Dockerfile",
  100. "name": "EXTENSIONS_DOCKERFILE",
  101. "value": "Dockerfile",
  102. "required": false
  103. },
  104. {
  105. "description": "The name of the service account to use for the deployment. The service account should be configured to allow usage of the secret(s) specified by CONFIGURATION_NAME, HTTPS_SECRET and JGROUPS_ENCRYPT_SECRET.",
  106. "displayName": "Service Account Name",
  107. "name": "SERVICE_ACCOUNT_NAME",
  108. "value": "datavirt-service-account",
  109. "required": true
  110. },
  111. {
  112. "description": "The name of the secret containing the keystore to be used for serving secure content.",
  113. "displayName": "Server Keystore Secret Name",
  114. "name": "HTTPS_SECRET",
  115. "value": "datavirt-app-secret",
  116. "required": true
  117. },
  118. {
  119. "description": "The name of the keystore file within the secret.",
  120. "displayName": "Server Keystore Filename",
  121. "name": "HTTPS_KEYSTORE",
  122. "value": "keystore.jks",
  123. "required": false
  124. },
  125. {
  126. "description": "The type of the keystore file (JKS or JCEKS).",
  127. "displayName": "Server Keystore Type",
  128. "name": "HTTPS_KEYSTORE_TYPE",
  129. "value": "",
  130. "required": false
  131. },
  132. {
  133. "description": "The name associated with the server certificate.",
  134. "displayName": "Server Certificate Name",
  135. "name": "HTTPS_NAME",
  136. "value": "jboss",
  137. "required": false
  138. },
  139. {
  140. "description": "The password for the keystore and certificate",
  141. "displayName": "Server Keystore Password",
  142. "name": "HTTPS_PASSWORD",
  143. "value": "mykeystorepass",
  144. "required": false
  145. },
  146. {
  147. "description": "Username associated with Teiid data service.",
  148. "displayName": "Teiid Username",
  149. "name": "TEIID_USERNAME",
  150. "from": "[\\a]{8}",
  151. "generate": "expression",
  152. "required": true
  153. },
  154. {
  155. "description": "Password for Teiid user.",
  156. "displayName": "Teiid User Password",
  157. "name": "TEIID_PASSWORD",
  158. "from": "[\\a\\A]{8}[\\d]{1}[\\A]{1}",
  159. "generate": "expression",
  160. "required": true
  161. },
  162. {
  163. "description": "Username associated with ModeShape.",
  164. "displayName": "ModeShape Username",
  165. "name": "MODESHAPE_USERNAME",
  166. "from": "[\\a]{8}",
  167. "generate": "expression",
  168. "required": true
  169. },
  170. {
  171. "description": "Password for ModeShape user.",
  172. "displayName": "ModeShape User Password",
  173. "name": "MODESHAPE_PASSWORD",
  174. "from": "[\\a\\A]{8}[\\d]{1}[\\A]{1}",
  175. "generate": "expression",
  176. "required": true
  177. },
  178. {
  179. "description": "A secret string used to configure the GitHub webhook.",
  180. "displayName": "Github Webhook Secret",
  181. "name": "GITHUB_WEBHOOK_SECRET",
  182. "from": "[a-zA-Z0-9]{8}",
  183. "generate": "expression",
  184. "required": true
  185. },
  186. {
  187. "description": "A secret string used to configure the Generic webhook.",
  188. "displayName": "Generic Webhook Secret",
  189. "name": "GENERIC_WEBHOOK_SECRET",
  190. "from": "[a-zA-Z0-9]{8}",
  191. "generate": "expression",
  192. "required": true
  193. },
  194. {
  195. "description": "Namespace in which the ImageStreams for Red Hat Middleware images are installed. These ImageStreams are normally installed in the openshift namespace. You should only need to modify this if you've installed the ImageStreams in a different namespace/project.",
  196. "displayName": "ImageStream Namespace",
  197. "name": "IMAGE_STREAM_NAMESPACE",
  198. "value": "openshift",
  199. "required": true
  200. },
  201. {
  202. "description": "The name of the secret containing the keystore to be used for securing JGroups communications.",
  203. "displayName": "JGroups Secret Name",
  204. "name": "JGROUPS_ENCRYPT_SECRET",
  205. "value": "datavirt-app-secret",
  206. "required": false
  207. },
  208. {
  209. "description": "The name of the keystore file within the JGroups secret.",
  210. "displayName": "JGroups Keystore Filename",
  211. "name": "JGROUPS_ENCRYPT_KEYSTORE",
  212. "value": "jgroups.jceks",
  213. "required": false
  214. },
  215. {
  216. "description": "The name associated with the JGroups server certificate",
  217. "displayName": "JGroups Certificate Name",
  218. "name": "JGROUPS_ENCRYPT_NAME",
  219. "value": "secret-key",
  220. "required": false
  221. },
  222. {
  223. "description": "The password for the keystore and certificate",
  224. "displayName": "JGroups Keystore Password",
  225. "name": "JGROUPS_ENCRYPT_PASSWORD",
  226. "value": "password",
  227. "required": false
  228. },
  229. {
  230. "description": "Password used by JGroups to authenticate nodes in the cluster.",
  231. "displayName": "JGroups Cluster Password",
  232. "name": "JGROUPS_CLUSTER_PASSWORD",
  233. "from": "[a-zA-Z0-9]{8}",
  234. "generate": "expression",
  235. "required": true
  236. },
  237. {
  238. "description": "Controls whether exploded deployment content should be automatically deployed",
  239. "displayName": "Deploy Exploded Archives",
  240. "name": "AUTO_DEPLOY_EXPLODED",
  241. "value": "false",
  242. "required": false
  243. },
  244. {
  245. "description": "Comma delimited list of source directories containing VDBs for deployment",
  246. "displayName": "VDB Deployment Directories",
  247. "name": "VDB_DIRS",
  248. "value": "",
  249. "required": false
  250. },
  251. {
  252. "displayName": "Maven mirror URL",
  253. "description": "Maven mirror to use for S2I builds",
  254. "name": "MAVEN_MIRROR_URL",
  255. "value": "",
  256. "required": false
  257. },
  258. {
  259. "displayName": "Artifact Directories",
  260. "description": "List of directories from which archives will be copied into the deployment folder. If unspecified, all archives in /target will be copied.",
  261. "name": "ARTIFACT_DIR",
  262. "value": "",
  263. "required": false
  264. }
  265. ],
  266. "objects": [
  267. {
  268. "kind": "Service",
  269. "apiVersion": "v1",
  270. "spec": {
  271. "ports": [
  272. {
  273. "name": "http",
  274. "port": 8080,
  275. "targetPort": "http"
  276. },
  277. {
  278. "name": "https",
  279. "port": 8443,
  280. "targetPort": "https"
  281. },
  282. {
  283. "name": "jdbc",
  284. "port": 31000,
  285. "targetPort": "jdbc"
  286. },
  287. {
  288. "name": "jdbcs",
  289. "port": 31443,
  290. "targetPort": "jdbcs"
  291. }
  292. ],
  293. "selector": {
  294. "deploymentConfig": "${APPLICATION_NAME}"
  295. }
  296. },
  297. "metadata": {
  298. "name": "${APPLICATION_NAME}",
  299. "labels": {
  300. "application": "${APPLICATION_NAME}"
  301. },
  302. "annotations": {
  303. "description": "The data virtualization services."
  304. }
  305. }
  306. },
  307. {
  308. "kind": "Route",
  309. "apiVersion": "v1",
  310. "id": "${APPLICATION_NAME}-http",
  311. "metadata": {
  312. "name": "${APPLICATION_NAME}",
  313. "labels": {
  314. "application": "${APPLICATION_NAME}"
  315. },
  316. "annotations": {
  317. "description": "Route for application's http (REST) service."
  318. }
  319. },
  320. "spec": {
  321. "host": "${HOSTNAME_HTTP}",
  322. "port": {
  323. "targetPort": "http"
  324. },
  325. "to": {
  326. "name": "${APPLICATION_NAME}"
  327. }
  328. }
  329. },
  330. {
  331. "kind": "Route",
  332. "apiVersion": "v1",
  333. "id": "${APPLICATION_NAME}-https",
  334. "metadata": {
  335. "name": "secure-${APPLICATION_NAME}",
  336. "labels": {
  337. "application": "${APPLICATION_NAME}"
  338. },
  339. "annotations": {
  340. "description": "Route for application's https (REST) service."
  341. }
  342. },
  343. "spec": {
  344. "host": "${HOSTNAME_HTTPS}",
  345. "port": {
  346. "targetPort": "https"
  347. },
  348. "to": {
  349. "name": "${APPLICATION_NAME}"
  350. },
  351. "tls": {
  352. "termination": "passthrough"
  353. }
  354. }
  355. },
  356. {
  357. "kind": "Route",
  358. "apiVersion": "v1",
  359. "id": "${APPLICATION_NAME}-jdbc",
  360. "metadata": {
  361. "name": "jdbc-${APPLICATION_NAME}",
  362. "labels": {
  363. "application": "${APPLICATION_NAME}"
  364. },
  365. "annotations": {
  366. "description": "Route for application's JDBC service."
  367. }
  368. },
  369. "spec": {
  370. "host": "${HOSTNAME_JDBC}",
  371. "port": {
  372. "targetPort": "jdbcs"
  373. },
  374. "to": {
  375. "name": "${APPLICATION_NAME}"
  376. },
  377. "tls": {
  378. "termination": "passthrough"
  379. }
  380. }
  381. },
  382. {
  383. "kind": "ImageStream",
  384. "apiVersion": "v1",
  385. "metadata": {
  386. "name": "${APPLICATION_NAME}",
  387. "labels": {
  388. "application": "${APPLICATION_NAME}"
  389. }
  390. }
  391. },
  392. {
  393. "kind": "ImageStream",
  394. "apiVersion": "v1",
  395. "metadata": {
  396. "name": "${APPLICATION_NAME}-ext",
  397. "labels": {
  398. "application": "${APPLICATION_NAME}"
  399. }
  400. }
  401. },
  402. {
  403. "kind": "BuildConfig",
  404. "apiVersion": "v1",
  405. "metadata": {
  406. "name": "${APPLICATION_NAME}-ext",
  407. "labels": {
  408. "application": "${APPLICATION_NAME}"
  409. }
  410. },
  411. "spec": {
  412. "source": {
  413. "type": "Git",
  414. "git": {
  415. "uri": "${EXTENSIONS_REPOSITORY_URL}",
  416. "ref": "${EXTENSIONS_REPOSITORY_REF}"
  417. },
  418. "contextDir": "${EXTENSIONS_DIR}"
  419. },
  420. "strategy": {
  421. "type": "Docker",
  422. "dockerStrategy": {
  423. "dockerfilePath": "${EXTENSIONS_DOCKERFILE}"
  424. }
  425. },
  426. "output": {
  427. "to": {
  428. "kind": "ImageStreamTag",
  429. "name": "${APPLICATION_NAME}-ext:latest"
  430. }
  431. },
  432. "triggers": [
  433. {
  434. "type": "GitHub",
  435. "github": {
  436. "secret": "${GITHUB_WEBHOOK_SECRET}"
  437. }
  438. },
  439. {
  440. "type": "Generic",
  441. "generic": {
  442. "secret": "${GENERIC_WEBHOOK_SECRET}"
  443. }
  444. },
  445. {
  446. "type": "ConfigChange"
  447. }
  448. ]
  449. }
  450. },
  451. {
  452. "kind": "BuildConfig",
  453. "apiVersion": "v1",
  454. "metadata": {
  455. "name": "${APPLICATION_NAME}",
  456. "labels": {
  457. "application": "${APPLICATION_NAME}"
  458. }
  459. },
  460. "spec": {
  461. "source": {
  462. "type": "Git",
  463. "git": {
  464. "uri": "${SOURCE_REPOSITORY_URL}",
  465. "ref": "${SOURCE_REPOSITORY_REF}"
  466. },
  467. "contextDir": "${CONTEXT_DIR}",
  468. "images": [
  469. {
  470. "from": {
  471. "kind": "ImageStreamTag",
  472. "namespace": "${IMAGE_STREAM_NAMESPACE}",
  473. "name": "jboss-datagrid65-client-openshift:1.0"
  474. },
  475. "paths": [
  476. {
  477. "destinationDir": "./${CONTEXT_DIR}/extensions/datagrid65",
  478. "sourcePath": "/extensions/."
  479. }
  480. ]
  481. },
  482. {
  483. "from": {
  484. "kind": "ImageStreamTag",
  485. "name": "${APPLICATION_NAME}-ext:latest"
  486. },
  487. "paths": [
  488. {
  489. "destinationDir": "./${CONTEXT_DIR}/extensions/extras",
  490. "sourcePath": "/extensions/."
  491. }
  492. ]
  493. }
  494. ]
  495. },
  496. "strategy": {
  497. "type": "Source",
  498. "sourceStrategy": {
  499. "forcePull": true,
  500. "from": {
  501. "kind": "ImageStreamTag",
  502. "namespace": "${IMAGE_STREAM_NAMESPACE}",
  503. "name": "jboss-datavirt63-openshift:1.2"
  504. },
  505. "env": [
  506. {
  507. "name": "CUSTOM_INSTALL_DIRECTORIES",
  508. "value": "extensions/*"
  509. },
  510. {
  511. "name": "VDB_DIRS",
  512. "value": "${VDB_DIRS}"
  513. },
  514. {
  515. "name": "MAVEN_MIRROR_URL",
  516. "value": "${MAVEN_MIRROR_URL}"
  517. },
  518. {
  519. "name": "ARTIFACT_DIR",
  520. "value": "${ARTIFACT_DIR}"
  521. }
  522. ]
  523. }
  524. },
  525. "output": {
  526. "to": {
  527. "kind": "ImageStreamTag",
  528. "name": "${APPLICATION_NAME}:latest"
  529. }
  530. },
  531. "triggers": [
  532. {
  533. "type": "GitHub",
  534. "github": {
  535. "secret": "${GITHUB_WEBHOOK_SECRET}"
  536. }
  537. },
  538. {
  539. "type": "Generic",
  540. "generic": {
  541. "secret": "${GENERIC_WEBHOOK_SECRET}"
  542. }
  543. },
  544. {
  545. "type": "ImageChange",
  546. "imageChange": {}
  547. },
  548. {
  549. "type": "ImageChange",
  550. "imageChange": {
  551. "from": {
  552. "kind": "ImageStreamTag",
  553. "name": "${APPLICATION_NAME}-ext:latest"
  554. }
  555. }
  556. },
  557. {
  558. "type": "ImageChange",
  559. "imageChange": {
  560. "from": {
  561. "kind": "ImageStreamTag",
  562. "name": "jboss-datagrid65-client-openshift:1.0"
  563. }
  564. }
  565. },
  566. {
  567. "type": "ConfigChange"
  568. }
  569. ]
  570. }
  571. },
  572. {
  573. "kind": "DeploymentConfig",
  574. "apiVersion": "v1",
  575. "metadata": {
  576. "name": "${APPLICATION_NAME}",
  577. "labels": {
  578. "application": "${APPLICATION_NAME}"
  579. }
  580. },
  581. "spec": {
  582. "strategy": {
  583. "type": "Recreate"
  584. },
  585. "triggers": [
  586. {
  587. "type": "ImageChange",
  588. "imageChangeParams": {
  589. "automatic": true,
  590. "containerNames": [
  591. "${APPLICATION_NAME}"
  592. ],
  593. "from": {
  594. "kind": "ImageStreamTag",
  595. "name": "${APPLICATION_NAME}:latest"
  596. }
  597. }
  598. },
  599. {
  600. "type": "ConfigChange"
  601. }
  602. ],
  603. "replicas": 1,
  604. "selector": {
  605. "deploymentConfig": "${APPLICATION_NAME}"
  606. },
  607. "template": {
  608. "metadata": {
  609. "name": "${APPLICATION_NAME}",
  610. "labels": {
  611. "deploymentConfig": "${APPLICATION_NAME}",
  612. "application": "${APPLICATION_NAME}"
  613. }
  614. },
  615. "spec": {
  616. "serviceAccountName": "${SERVICE_ACCOUNT_NAME}",
  617. "terminationGracePeriodSeconds": 60,
  618. "containers": [
  619. {
  620. "name": "${APPLICATION_NAME}",
  621. "image": "${APPLICATION_NAME}",
  622. "imagePullPolicy": "Always",
  623. "volumeMounts": [
  624. {
  625. "name": "configuration",
  626. "mountPath": "/etc/datavirt-environment",
  627. "readOnly": true
  628. },
  629. {
  630. "name": "datavirt-keystore-volume",
  631. "mountPath": "/etc/datavirt-secret-volume",
  632. "readOnly": true
  633. },
  634. {
  635. "name": "datavirt-jgroups-keystore-volume",
  636. "mountPath": "/etc/jgroups-encrypt-secret-volume",
  637. "readOnly": true
  638. }
  639. ],
  640. "livenessProbe": {
  641. "exec": {
  642. "command": [
  643. "/bin/bash",
  644. "-c",
  645. "/opt/eap/bin/livenessProbe.sh"
  646. ]
  647. }
  648. },
  649. "readinessProbe": {
  650. "exec": {
  651. "command": [
  652. "/bin/bash",
  653. "-c",
  654. "/opt/eap/bin/readinessProbe.sh"
  655. ]
  656. }
  657. },
  658. "ports": [
  659. {
  660. "name": "jolokia",
  661. "containerPort": 8778,
  662. "protocol": "TCP"
  663. },
  664. {
  665. "name": "http",
  666. "containerPort": 8080,
  667. "protocol": "TCP"
  668. },
  669. {
  670. "name": "https",
  671. "containerPort": 8443,
  672. "protocol": "TCP"
  673. },
  674. {
  675. "name": "jdbc",
  676. "containerPort": 31000,
  677. "protocol": "TCP"
  678. },
  679. {
  680. "name": "jdbcs",
  681. "containerPort": 31443,
  682. "protocol": "TCP"
  683. },
  684. {
  685. "name": "ping",
  686. "containerPort": 8888,
  687. "protocol": "TCP"
  688. }
  689. ],
  690. "env": [
  691. {
  692. "name": "OPENSHIFT_KUBE_PING_LABELS",
  693. "value": "application=${APPLICATION_NAME}"
  694. },
  695. {
  696. "name": "OPENSHIFT_KUBE_PING_NAMESPACE",
  697. "valueFrom": {
  698. "fieldRef": {
  699. "fieldPath": "metadata.namespace"
  700. }
  701. }
  702. },
  703. {
  704. "name": "HTTPS_KEYSTORE_DIR",
  705. "value": "/etc/datavirt-secret-volume"
  706. },
  707. {
  708. "name": "HTTPS_KEYSTORE",
  709. "value": "${HTTPS_KEYSTORE}"
  710. },
  711. {
  712. "name": "HTTPS_KEYSTORE_TYPE",
  713. "value": "${HTTPS_KEYSTORE_TYPE}"
  714. },
  715. {
  716. "name": "HTTPS_NAME",
  717. "value": "${HTTPS_NAME}"
  718. },
  719. {
  720. "name": "HTTPS_PASSWORD",
  721. "value": "${HTTPS_PASSWORD}"
  722. },
  723. {
  724. "name": "JGROUPS_ENCRYPT_SECRET",
  725. "value": "${JGROUPS_ENCRYPT_SECRET}"
  726. },
  727. {
  728. "name": "JGROUPS_ENCRYPT_KEYSTORE_DIR",
  729. "value": "/etc/jgroups-encrypt-secret-volume"
  730. },
  731. {
  732. "name": "JGROUPS_ENCRYPT_KEYSTORE",
  733. "value": "${JGROUPS_ENCRYPT_KEYSTORE}"
  734. },
  735. {
  736. "name": "JGROUPS_ENCRYPT_NAME",
  737. "value": "${JGROUPS_ENCRYPT_NAME}"
  738. },
  739. {
  740. "name": "JGROUPS_ENCRYPT_PASSWORD",
  741. "value": "${JGROUPS_ENCRYPT_PASSWORD}"
  742. },
  743. {
  744. "name": "JGROUPS_CLUSTER_PASSWORD",
  745. "value": "${JGROUPS_CLUSTER_PASSWORD}"
  746. },
  747. {
  748. "name": "AUTO_DEPLOY_EXPLODED",
  749. "value": "${AUTO_DEPLOY_EXPLODED}"
  750. },
  751. {
  752. "name": "TEIID_USERNAME",
  753. "value": "${TEIID_USERNAME}"
  754. },
  755. {
  756. "name": "TEIID_PASSWORD",
  757. "value": "${TEIID_PASSWORD}"
  758. },
  759. {
  760. "name": "MODESHAPE_USERNAME",
  761. "value": "${MODESHAPE_USERNAME}"
  762. },
  763. {
  764. "name": "MODESHAPE_PASSWORD",
  765. "value": "${MODESHAPE_PASSWORD}"
  766. },
  767. {
  768. "name": "ENV_FILES",
  769. "value": "/etc/datavirt-environment/*"
  770. },
  771. {
  772. "name": "DATAVIRT_TRANSPORT_KEYSTORE",
  773. "value": "${HTTPS_KEYSTORE}"
  774. },
  775. {
  776. "name": "DATAVIRT_TRANSPORT_KEYSTORE_TYPE",
  777. "value": "${HTTPS_KEYSTORE_TYPE}"
  778. },
  779. {
  780. "name": "DATAVIRT_TRANSPORT_KEY_ALIAS",
  781. "value": "${HTTPS_NAME}"
  782. },
  783. {
  784. "name": "DATAVIRT_TRANSPORT_KEYSTORE_PASSWORD",
  785. "value": "${HTTPS_PASSWORD}"
  786. },
  787. {
  788. "name": "QS_DB_TYPE",
  789. "value": "derby",
  790. "description": "Used soley by the quickstart and set here to ensure the template can be instatiated with its default parameter values, i.e. so itworks ootb."
  791. }
  792. ]
  793. }
  794. ],
  795. "volumes": [
  796. {
  797. "name": "configuration",
  798. "secret": {
  799. "secretName": "${CONFIGURATION_NAME}"
  800. }
  801. },
  802. {
  803. "name": "datavirt-keystore-volume",
  804. "secret": {
  805. "secretName": "${HTTPS_SECRET}"
  806. }
  807. },
  808. {
  809. "name": "datavirt-jgroups-keystore-volume",
  810. "secret": {
  811. "secretName": "${JGROUPS_ENCRYPT_SECRET}"
  812. }
  813. }
  814. ]
  815. }
  816. }
  817. }
  818. }
  819. ]
  820. }