· 9 years ago · Aug 29, 2016, 10:04 PM
1{
2 "kind": "Template",
3 "apiVersion": "v1",
4 "metadata": {
5 "annotations": {
6 "description": "Application template for SSO 7.0 MySQL applications with persistent storage",
7 "iconClass" : "icon-jboss",
8 "tags" : "instant-app,sso,keycloak,mysql,java,database,jboss,xpaas",
9 "version" : "1.3.2"
10 },
11 "name": "sso70-mysql-persistent"
12 },
13 "labels": {
14 "template": "sso70-mysql-persistent",
15 "xpaas" : "1.3.2"
16 },
17 "parameters": [
18 {
19 "description": "The name for the application.",
20 "name": "APPLICATION_NAME",
21 "value": "sso",
22 "required": true
23 },
24 {
25 "name": "MEMORY_LIMIT",
26 "displayName": "Memory Limit",
27 "description": "Maximum amount of memory the Red Hat SSO container can use.",
28 "value": "1Gi",
29 "required": true
30 },
31 {
32 "name": "MEMORY_MYSQL_LIMIT",
33 "displayName": "Memory Limit (MySQL)",
34 "description": "Maximum amount of memory the MySQL container can use.",
35 "value": "512Mi",
36 "required": true
37 },
38 {
39 "description": "SSO Server admin username",
40 "name": "SSO_ADMIN_USERNAME",
41 "value": "admin",
42 "required": false
43 },
44 {
45 "description": "SSO Server admin password",
46 "name": "SSO_ADMIN_PASSWORD",
47 "value": "admin",
48 "required": false
49 },
50 {
51 "description": "Realm to be created in the SSO server (e.g. demo).",
52 "name": "SSO_REALM",
53 "value": "",
54 "required": false
55 },
56 {
57 "description": "The username used to access the SSO service. This is used by clients to create the application client(s) within the specified SSO realm.",
58 "name": "SSO_SERVICE_USERNAME",
59 "value": "",
60 "required": false
61 },
62 {
63 "description": "The password for the SSO service user.",
64 "name": "SSO_SERVICE_PASSWORD",
65 "value": "",
66 "required": false
67 },
68 {
69 "description": "The name of the truststore file within the secret (e.g. truststore.jks)",
70 "name": "SSO_TRUSTSTORE",
71 "value": "",
72 "required": false
73 },
74 {
75 "description": "The password for the truststore and certificate (e.g. mykeystorepass)",
76 "name": "SSO_TRUSTSTORE_PASSWORD",
77 "value": "",
78 "required": false
79 },
80 {
81 "description": "The name of the secret containing the truststore file (e.g. truststore-secret). Used for volume secretName",
82 "name": "SSO_TRUSTSTORE_SECRET",
83 "value": "sso-app-secret",
84 "required": false
85 },
86 {
87 "description": "Custom hostname for http service route. Leave blank for default hostname, e.g.: <application-name>.<project>.<default-domain-suffix>",
88 "name": "HOSTNAME_HTTP",
89 "value": "",
90 "required": false
91 },
92 {
93 "description": "Custom hostname for https service route. Leave blank for default hostname, e.g.: <application-name>.<project>.<default-domain-suffix>",
94 "name": "HOSTNAME_HTTPS",
95 "value": "",
96 "required": false
97 },
98 {
99 "description": "Database JNDI name used by application to resolve the datasource, e.g. java:/jboss/datasources/mysql",
100 "name": "DB_JNDI",
101 "value": "java:jboss/datasources/KeycloakDS",
102 "required": false
103 },
104 {
105 "description": "Database name",
106 "name": "DB_DATABASE",
107 "value": "root",
108 "required": true
109 },
110 {
111 "description": "The name of the service account to use for the deployment. The service account should be configured to allow useage of the secret(s) specified by HTTPS_SECRET and JGROUPS_ENCRYPT_SECRET.",
112 "name": "SERVICE_ACCOUNT_NAME",
113 "value": "sso-service-account",
114 "required": true
115 },
116 {
117 "description": "The name of the secret containing the keystore file",
118 "name": "HTTPS_SECRET",
119 "value": "sso-app-secret",
120 "required": false
121 },
122 {
123 "description": "The name of the keystore file within the secret",
124 "name": "HTTPS_KEYSTORE",
125 "value": "keystore.jks",
126 "required": false
127 },
128 {
129 "description": "The type of the keystore file (JKS or JCEKS)",
130 "name": "HTTPS_KEYSTORE_TYPE",
131 "value": "JKS",
132 "required": false
133 },
134 {
135 "description": "The name associated with the server certificate (e.g. jboss)",
136 "name": "HTTPS_NAME",
137 "value": "jboss",
138 "required": false
139 },
140 {
141 "description": "The password for the keystore and certificate (e.g. mykeystorepass)",
142 "name": "HTTPS_PASSWORD",
143 "value": "mykeystorepass",
144 "required": false
145 },
146 {
147 "description": "Sets xa-pool/min-pool-size for the configured datasource.",
148 "name": "DB_MIN_POOL_SIZE",
149 "required": false
150 },
151 {
152 "description": "Sets xa-pool/max-pool-size for the configured datasource.",
153 "name": "DB_MAX_POOL_SIZE",
154 "required": false
155 },
156 {
157 "description": "Sets transaction-isolation for the configured datasource.",
158 "name": "DB_TX_ISOLATION",
159 "required": false
160 },
161 {
162 "description": "Sets how the table names are stored and compared.",
163 "name": "MYSQL_LOWER_CASE_TABLE_NAMES",
164 "required": false
165 },
166 {
167 "description": "The maximum permitted number of simultaneous client connections.",
168 "name": "MYSQL_MAX_CONNECTIONS",
169 "required": false
170 },
171 {
172 "description": "The minimum length of the word to be included in a FULLTEXT index.",
173 "name": "MYSQL_FT_MIN_WORD_LEN",
174 "required": false
175 },
176 {
177 "description": "The maximum length of the word to be included in a FULLTEXT index.",
178 "name": "MYSQL_FT_MAX_WORD_LEN",
179 "required": false
180 },
181 {
182 "description": "Controls the innodb_use_native_aio setting value if the native AIO is broken.",
183 "name": "MYSQL_AIO",
184 "required": false
185 },
186 {
187 "description": "Database user name",
188 "name": "DB_USERNAME",
189 "from": "user[a-zA-Z0-9]{3}",
190 "generate": "expression",
191 "required": true
192 },
193 {
194 "description": "Database user password",
195 "name": "DB_PASSWORD",
196 "from": "[a-zA-Z0-9]{8}",
197 "generate": "expression",
198 "required": true
199 },
200 {
201 "description": "Size of persistent storage for database volume.",
202 "name": "VOLUME_CAPACITY",
203 "value": "1Gi",
204 "required": true
205 },
206 {
207 "description": "The name of the secret containing the keystore file",
208 "name": "JGROUPS_ENCRYPT_SECRET",
209 "value": "sso-app-secret",
210 "required": false
211 },
212 {
213 "description": "The name of the keystore file within the secret",
214 "name": "JGROUPS_ENCRYPT_KEYSTORE",
215 "value": "jgroups.jceks",
216 "required": false
217 },
218 {
219 "description": "The name associated with the server certificate (e.g. secret-key)",
220 "name": "JGROUPS_ENCRYPT_NAME",
221 "value": "secret-key",
222 "required": false
223 },
224 {
225 "description": "The password for the keystore and certificate (e.g. password)",
226 "name": "JGROUPS_ENCRYPT_PASSWORD",
227 "value": "password",
228 "required": false
229 },
230 {
231 "description": "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": "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.",
239 "name": "IMAGE_STREAM_NAMESPACE",
240 "value": "openshift",
241 "required": true
242 }
243 ],
244 "objects": [
245 {
246 "kind": "Service",
247 "apiVersion": "v1",
248 "spec": {
249 "ports": [
250 {
251 "port": 8080,
252 "targetPort": 8080
253 }
254 ],
255 "selector": {
256 "deploymentConfig": "${APPLICATION_NAME}"
257 }
258 },
259 "metadata": {
260 "name": "${APPLICATION_NAME}",
261 "labels": {
262 "application": "${APPLICATION_NAME}"
263 },
264 "annotations": {
265 "description": "The web server's http port."
266 }
267 }
268 },
269 {
270 "kind": "Service",
271 "apiVersion": "v1",
272 "spec": {
273 "ports": [
274 {
275 "port": 8443,
276 "targetPort": 8443
277 }
278 ],
279 "selector": {
280 "deploymentConfig": "${APPLICATION_NAME}"
281 }
282 },
283 "metadata": {
284 "name": "secure-${APPLICATION_NAME}",
285 "labels": {
286 "application": "${APPLICATION_NAME}"
287 },
288 "annotations": {
289 "description": "The web server's https port."
290 }
291 }
292 },
293 {
294 "kind": "Service",
295 "apiVersion": "v1",
296 "spec": {
297 "ports": [
298 {
299 "port": 3306,
300 "targetPort": 3306
301 }
302 ],
303 "selector": {
304 "deploymentConfig": "${APPLICATION_NAME}-mysql"
305 }
306 },
307 "metadata": {
308 "name": "${APPLICATION_NAME}-mysql",
309 "labels": {
310 "application": "${APPLICATION_NAME}"
311 },
312 "annotations": {
313 "description": "The database server's port."
314 }
315 }
316 },
317 {
318 "kind": "Route",
319 "apiVersion": "v1",
320 "id": "${APPLICATION_NAME}-http",
321 "metadata": {
322 "name": "${APPLICATION_NAME}",
323 "labels": {
324 "application": "${APPLICATION_NAME}"
325 },
326 "annotations": {
327 "description": "Route for application's http service."
328 }
329 },
330 "spec": {
331 "host": "${HOSTNAME_HTTP}",
332 "to": {
333 "name": "${APPLICATION_NAME}"
334 }
335 }
336 },
337 {
338 "kind": "Route",
339 "apiVersion": "v1",
340 "id": "${APPLICATION_NAME}-https",
341 "metadata": {
342 "name": "secure-${APPLICATION_NAME}",
343 "labels": {
344 "application": "${APPLICATION_NAME}"
345 },
346 "annotations": {
347 "description": "Route for application's https service."
348 }
349 },
350 "spec": {
351 "host": "${HOSTNAME_HTTPS}",
352 "to": {
353 "name": "secure-${APPLICATION_NAME}"
354 },
355 "tls": {
356 "termination": "passthrough"
357 }
358 }
359 },
360 {
361 "kind": "DeploymentConfig",
362 "apiVersion": "v1",
363 "metadata": {
364 "name": "${APPLICATION_NAME}",
365 "labels": {
366 "application": "${APPLICATION_NAME}"
367 }
368 },
369 "spec": {
370 "strategy": {
371 "type": "Recreate"
372 },
373 "triggers": [
374 {
375 "type": "ImageChange",
376 "imageChangeParams": {
377 "automatic": true,
378 "containerNames": [
379 "${APPLICATION_NAME}"
380 ],
381 "from": {
382 "kind": "ImageStreamTag",
383 "namespace": "${IMAGE_STREAM_NAMESPACE}",
384 "name": "redhat-sso70-openshift:1.3"
385 }
386 }
387 },
388 {
389 "type": "ConfigChange"
390 }
391 ],
392 "replicas": 1,
393 "selector": {
394 "deploymentConfig": "${APPLICATION_NAME}"
395 },
396 "template": {
397 "metadata": {
398 "name": "${APPLICATION_NAME}",
399 "labels": {
400 "deploymentConfig": "${APPLICATION_NAME}",
401 "application": "${APPLICATION_NAME}"
402 }
403 },
404 "spec": {
405 "serviceAccountName": "${SERVICE_ACCOUNT_NAME}",
406 "terminationGracePeriodSeconds": 75,
407 "containers": [
408 {
409 "name": "${APPLICATION_NAME}",
410 "image": "${APPLICATION_NAME}",
411 "imagePullPolicy": "Always",
412 "volumeMounts": [
413 {
414 "name": "eap-keystore-volume",
415 "mountPath": "/etc/eap-secret-volume",
416 "readOnly": true
417 },
418 {
419 "name": "eap-jgroups-keystore-volume",
420 "mountPath": "/etc/jgroups-encrypt-secret-volume",
421 "readOnly": true
422 },
423 {
424 "name": "sso-truststore-volume",
425 "mountPath": "/etc/sso-secret-volume",
426 "readOnly": true
427 }
428 ],
429 "lifecycle": {
430 "preStop": {
431 "exec": {
432 "command": [
433 "/opt/eap/bin/jboss-cli.sh",
434 "-c",
435 ":shutdown(timeout=60)"
436 ]
437 }
438 }
439 },
440 "livenessProbe": {
441 "exec": {
442 "command": [
443 "/bin/bash",
444 "-c",
445 "/opt/eap/bin/livenessProbe.sh"
446 ]
447 }
448 },
449 "readinessProbe": {
450 "exec": {
451 "command": [
452 "/bin/bash",
453 "-c",
454 "/opt/eap/bin/readinessProbe.sh"
455 ]
456 }
457 },
458 "resources": {
459 "limits": {
460 "memory": "${MEMORY_LIMIT}"
461 }
462 },
463 "ports": [
464 {
465 "name": "jolokia",
466 "containerPort": 8778,
467 "protocol": "TCP"
468 },
469 {
470 "name": "http",
471 "containerPort": 8080,
472 "protocol": "TCP"
473 },
474 {
475 "name": "https",
476 "containerPort": 8443,
477 "protocol": "TCP"
478 },
479 {
480 "name": "ping",
481 "containerPort": 8888,
482 "protocol": "TCP"
483 }
484 ],
485 "env": [
486 {
487 "name": "DB_SERVICE_PREFIX_MAPPING",
488 "value": "${APPLICATION_NAME}-mysql=DB"
489 },
490 {
491 "name": "DB_JNDI",
492 "value": "${DB_JNDI}"
493 },
494 {
495 "name": "DB_USERNAME",
496 "value": "${DB_USERNAME}"
497 },
498 {
499 "name": "DB_PASSWORD",
500 "value": "${DB_PASSWORD}"
501 },
502 {
503 "name": "DB_DATABASE",
504 "value": "${DB_DATABASE}"
505 },
506 {
507 "name": "TX_DATABASE_PREFIX_MAPPING",
508 "value": "${APPLICATION_NAME}-mysql=DB"
509 },
510 {
511 "name": "DB_MIN_POOL_SIZE",
512 "value": "${DB_MIN_POOL_SIZE}"
513 },
514 {
515 "name": "DB_MAX_POOL_SIZE",
516 "value": "${DB_MAX_POOL_SIZE}"
517 },
518 {
519 "name": "DB_TX_ISOLATION",
520 "value": "${DB_TX_ISOLATION}"
521 },
522 {
523 "name": "OPENSHIFT_KUBE_PING_LABELS",
524 "value": "application=${APPLICATION_NAME}"
525 },
526 {
527 "name": "OPENSHIFT_KUBE_PING_NAMESPACE",
528 "valueFrom": {
529 "fieldRef": {
530 "fieldPath": "metadata.namespace"
531 }
532 }
533 },
534 {
535 "name": "HTTPS_KEYSTORE_DIR",
536 "value": "/etc/eap-secret-volume"
537 },
538 {
539 "name": "HTTPS_KEYSTORE",
540 "value": "${HTTPS_KEYSTORE}"
541 },
542 {
543 "name": "HTTPS_KEYSTORE_TYPE",
544 "value": "${HTTPS_KEYSTORE_TYPE}"
545 },
546 {
547 "name": "HTTPS_NAME",
548 "value": "${HTTPS_NAME}"
549 },
550 {
551 "name": "HTTPS_PASSWORD",
552 "value": "${HTTPS_PASSWORD}"
553 },
554 {
555 "name": "JGROUPS_ENCRYPT_SECRET",
556 "value": "${JGROUPS_ENCRYPT_SECRET}"
557 },
558 {
559 "name": "JGROUPS_ENCRYPT_KEYSTORE_DIR",
560 "value": "/etc/jgroups-encrypt-secret-volume"
561 },
562 {
563 "name": "JGROUPS_ENCRYPT_KEYSTORE",
564 "value": "${JGROUPS_ENCRYPT_KEYSTORE}"
565 },
566 {
567 "name": "JGROUPS_ENCRYPT_NAME",
568 "value": "${JGROUPS_ENCRYPT_NAME}"
569 },
570 {
571 "name": "JGROUPS_ENCRYPT_PASSWORD",
572 "value": "${JGROUPS_ENCRYPT_PASSWORD}"
573 },
574 {
575 "name": "JGROUPS_CLUSTER_PASSWORD",
576 "value": "${JGROUPS_CLUSTER_PASSWORD}"
577 },
578 {
579 "name": "SSO_ADMIN_USERNAME",
580 "value": "${SSO_ADMIN_USERNAME}"
581 },
582 {
583 "name": "SSO_ADMIN_PASSWORD",
584 "value": "${SSO_ADMIN_PASSWORD}"
585 },
586 {
587 "name": "SSO_REALM",
588 "value": "${SSO_REALM}"
589 },
590 {
591 "name": "SSO_SERVICE_USERNAME",
592 "value": "${SSO_SERVICE_USERNAME}"
593 },
594 {
595 "name": "SSO_SERVICE_PASSWORD",
596 "value": "${SSO_SERVICE_PASSWORD}"
597 },
598 {
599 "name": "SSO_TRUSTSTORE",
600 "value": "${SSO_TRUSTSTORE}"
601 },
602 {
603 "name": "SSO_TRUSTSTORE_DIR",
604 "value": "/etc/sso-secret-volume"
605 },
606 {
607 "name": "SSO_TRUSTSTORE_PASSWORD",
608 "value": "${SSO_TRUSTSTORE_PASSWORD}"
609 }
610 ]
611 }
612 ],
613 "volumes": [
614 {
615 "name": "eap-keystore-volume",
616 "secret": {
617 "secretName": "${HTTPS_SECRET}"
618 }
619 },
620 {
621 "name": "eap-jgroups-keystore-volume",
622 "secret": {
623 "secretName": "${JGROUPS_ENCRYPT_SECRET}"
624 }
625 },
626 {
627 "name": "sso-truststore-volume",
628 "secret": {
629 "secretName": "${SSO_TRUSTSTORE_SECRET}"
630 }
631 }
632 ]
633 }
634 }
635 }
636 },
637 {
638 "kind": "DeploymentConfig",
639 "apiVersion": "v1",
640 "metadata": {
641 "name": "${APPLICATION_NAME}-mysql",
642 "labels": {
643 "application": "${APPLICATION_NAME}"
644 }
645 },
646 "spec": {
647 "strategy": {
648 "type": "Recreate"
649 },
650 "triggers": [
651 {
652 "type": "ImageChange",
653 "imageChangeParams": {
654 "automatic": true,
655 "containerNames": [
656 "${APPLICATION_NAME}-mysql"
657 ],
658 "from": {
659 "kind": "ImageStreamTag",
660 "namespace": "${IMAGE_STREAM_NAMESPACE}",
661 "name": "mysql:latest"
662 }
663 }
664 },
665 {
666 "type": "ConfigChange"
667 }
668 ],
669 "replicas": 1,
670 "selector": {
671 "deploymentConfig": "${APPLICATION_NAME}-mysql"
672 },
673 "template": {
674 "metadata": {
675 "name": "${APPLICATION_NAME}-mysql",
676 "labels": {
677 "deploymentConfig": "${APPLICATION_NAME}-mysql",
678 "application": "${APPLICATION_NAME}"
679 }
680 },
681 "spec": {
682 "terminationGracePeriodSeconds": 60,
683 "containers": [
684 {
685 "name": "${APPLICATION_NAME}-mysql",
686 "image": "mysql",
687 "imagePullPolicy": "Always",
688 "ports": [
689 {
690 "containerPort": 3306,
691 "protocol": "TCP"
692 }
693 ],
694 "resources": {
695 "limits": {
696 "memory": "${MEMORY_MYSQL_LIMIT}"
697 }
698 },
699 "volumeMounts": [
700 {
701 "mountPath": "/var/lib/mysql/data",
702 "name": "${APPLICATION_NAME}-mysql-pvol"
703 }
704 ],
705 "env": [
706 {
707 "name": "MYSQL_USER",
708 "value": "${DB_USERNAME}"
709 },
710 {
711 "name": "MYSQL_PASSWORD",
712 "value": "${DB_PASSWORD}"
713 },
714 {
715 "name": "MYSQL_DATABASE",
716 "value": "${DB_DATABASE}"
717 },
718 {
719 "name": "MYSQL_LOWER_CASE_TABLE_NAMES",
720 "value": "${MYSQL_LOWER_CASE_TABLE_NAMES}"
721 },
722 {
723 "name": "MYSQL_MAX_CONNECTIONS",
724 "value": "${MYSQL_MAX_CONNECTIONS}"
725 },
726 {
727 "name": "MYSQL_FT_MIN_WORD_LEN",
728 "value": "${MYSQL_FT_MIN_WORD_LEN}"
729 },
730 {
731 "name": "MYSQL_FT_MAX_WORD_LEN",
732 "value": "${MYSQL_FT_MAX_WORD_LEN}"
733 },
734 {
735 "name": "MYSQL_AIO",
736 "value": "${MYSQL_AIO}"
737 }
738 ]
739 }
740 ],
741 "volumes": [
742 {
743 "name": "${APPLICATION_NAME}-mysql-pvol",
744 "persistentVolumeClaim": {
745 "claimName": "${APPLICATION_NAME}-mysql-claim"
746 }
747 }
748 ]
749 }
750 }
751 }
752 },
753 {
754 "kind": "ServiceAccount",
755 "apiVersion": "v1",
756 "metadata": {
757 "name": "sso-service-account"
758 },
759 "secrets": [
760 {
761 "name": "sso-app-secret"
762 }
763 ]
764 },
765 {
766 "kind": "Secret",
767 "apiVersion": "v1",
768 "metadata": {
769 "annotations": {
770 "description": "Default secret file with name 'jboss' and password 'mykeystorepass'"
771 },
772 "name": "sso-app-sec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0ABJMamF2YS9sYW5nL1N0cmluZztMAAdzZWFsQWxncQB+AAN4cHVyAAJbQqzzF/gGCFTgAgAAeHAAAAAPMA0ECHcwLGK6EDyLAgEUdXEAfgAFAAAAmCu9wRKf1aYYUOEWe406ncPtIdm3147G7MJyWUu2kJVY15a2QxeZi9w5J3AF6T64CvylUuQjpcC4DWXwVn9BefntkBR8CzTiH7VxEqVOQ/OkFS29Inoq8t7/NBaTgTdmMkb4ETV1gIsy/+W6kk7QTqxItCkdKKGFE90Be/7yL3tG16TCy/ABKl7CO6PHa44CqK2PUE1oaJ+WdAAWUEJFV2l0aE1ENUFuZFRyaXBsZURFU3QAFlBCRVdpdGhNRDVBbmRUcmlwbGVERVMN658veJP01V2j9y8bQCYIzViutw=="
777 }
778 },
779 {
780 "apiVersion": "v1",
781 "kind": "PersistentVolumeClaim",
782 "metadata": {
783 "name": "${APPLICATION_NAME}-mysql-claim",
784 "labels": {
785 "application": "${APPLICATION_NAME}"
786 }
787 },
788 "spec": {
789 "accessModes": [
790 "ReadWriteOnce"
791 ],
792 "resources": {
793 "requests": {
794 "storage": "${VOLUME_CAPACITY}"
795 }
796 }
797 }
798 }
799 ]
800}