datavirt63-extensions-support-s2i.json 31 KB

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