/
image.yaml
66 lines (65 loc) · 2.95 KB
/
image.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
schema_version: 1
name: "rhpam-7/rhpam70-businesscentral-indexing-openshift"
description: "Red Hat Business Central Indexing 7.0 OpenShift container image"
version: "1.1"
from: "rhpam-7/rhpam70-businesscentral-indexing:latest"
labels:
- name: "com.redhat.component"
value: "rhpam-7-rhpam70-businesscentral-indexing-openshift-container"
- name: "io.k8s.description"
value: "Platform for running Red Hat Business Central Indexing"
- name: "io.k8s.display-name"
value: "Red Hat Business Central Indexing 7.0"
- name: "io.openshift.expose-services"
value: "9200:http,9300:tcp"
- name: "io.openshift.tags"
value: "javaee,rhpam,rhdm,rhpam7,rhdm7"
envs:
- name: "ES_CLUSTER_NAME"
example: "kie-cluster"
description: "Sets the ES cluster.name property. Defaults to kie-cluster."
- name: "ES_NODE_NAME"
example: "nodeName"
description: "Sets the ES node.name property. Defaults to HOSTNAME env value."
- name: "ES_TRANSPORT_HOST"
example: "10.10.10.10"
description: "Sets the ES transport.host property. This will set the transport address of the main ES cluster node. Used for communication between nodes in the cluster. Defaults to container address."
- name: "ES_TRANSPORT_TCP_PORT"
example: "9300"
description: "Sets the ES http.host property. This will set the http address of the main ES cluster node. Used for communication between nodes in the cluster."
- name: "ES_HTTP_HOST"
example: "0.0.0.0"
description: "Sets the ES http.host property. This will set the http address of the main ES cluster node. Used to interact with cluster rest api. Defaults to the container ip address"
- name: "ES_HTTP_PORT"
example: "9200"
description: "Sets the ES http.port property. This will set the http port of the main ES cluster node. Used to interact with cluster rest api."
- name: "ES_JAVA_OPTS"
example: "-Xms1024m -Xmx1024m"
description: "Appends custom jvm configurations/properties to ES jvm.options configuration file."
- name: "SCRIPT_DEBUG"
example: "true"
description: "If set to true, ensures that the bash scripts are executed with the -x option, printing the commands and their arguments as they are executed."
ports:
- value: 9200
- value: 9300
modules:
repositories:
- git:
url: https://github.com/jboss-openshift/cct_module.git
ref: sprint-18
- git:
url: https://github.com/jboss-container-images/jboss-kie-modules.git
ref: 7.0.x
install:
- name: os.bpmsuite.elasticsearch
- name: dynamic-resources
- name: java-alternatives
- name: os-java-run
run:
user: 185
cmd:
- "/opt/elasticsearch/bin/openshift-launch.sh"
osbs:
repository:
name: containers/rhpam-7-businesscentral-indexing-openshift
branch: jb-rhpam-7.0-businesscentral-indexing-openshift-rhel-7