-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProperties.xml
147 lines (136 loc) · 4.35 KB
/
Properties.xml
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<?xml version="1.0"?>
<Content xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Object id="DOCKER">
<Group>
<Id>Docker</Id>
<Name>Docker Settings</Name>
<Description>Settings for Docker</Description>
<Type>Main</Type>
<Childs>
<Prop>
<Id>DOCKER_CONTAINER_RUNTIME</Id>
<Name>Container runtime</Name>
<Description>Container runtime</Description>
<Type>Combo</Type>
<Default>Default</Default>
<Metadata />
<Values>
<Value id="Openshift" desc="Openshift" />
<Value id="Default" desc="Default" />
</Values>
<Options>
<Option type='Required'/>
</Options>
</Prop>
<Prop>
<Id>DOCKER_IMAGE_REGISTRY</Id>
<Name>Image Registry</Name>
<Description>Image Registry to use</Description>
<Type>Combo</Type>
<Default>DockerHub</Default>
<Metadata />
<Values>
<Value id="DockerHub" desc="Docker Hub" />
<Value id="Redhat" desc="Redhat registry" />
</Values>
<Options>
<Option type='Required'/>
</Options>
</Prop>
<Prop>
<Id>DOCKER_BASE_IMAGE</Id>
<Name>Base image</Name>
<Description>Base Docker image for this Dockerfile</Description>
<Type>Text</Type>
<Options>
<Option type='Required'/>
</Options>
</Prop>
<Prop>
<Id>DOCKER_MAINTAINER</Id>
<Name>Maintainer name</Name>
<Description>Name of the maintainer of the deployed image</Description>
<Type>Text</Type>
</Prop>
<Prop>
<Id>DOCKER_ENVVARS</Id>
<Name>Environment variables</Name>
<Description>Set the environment variables you want the Dockerfile to include. You can either set one variable (VAR=VALUE) or as many as you want to separate them with a space (VAR1=VALUE1 VAR2=VALUE2). Also, make sure you single quote the values that may contain spaces (VAR='THE VALUE').</Description>
<Type>Text</Type>
</Prop>
<Prop>
<Id>DOCKER_WEBAPPLOCATION</Id>
<Name>App location</Name>
<Description>Location where the generated application will be deployed inside the Docker image</Description>
<Type>Text</Type>
<Options>
<Option type='Required'/>
</Options>
</Prop>
<Prop>
<Id>DOCKER_IMAGE_NAME</Id>
<Name>Docker image name</Name>
<Description>The name (tag) of the generated Docker image</Description>
<Type>Text</Type>
<Options>
<Option type='Required'/>
</Options>
</Prop>
<Prop>
<Id>K8S_GENERATE_KUBERNETES</Id>
<Name>Generate Kubernetes metadata</Name>
<Description>Generates the Kubernetes metadata yaml file</Description>
<Type>Boolean</Type>
<Default>false</Default>
</Prop>
<Prop>
<Id>K8S_NAMESPACE</Id>
<Name>Kubernetes Namespace</Name>
<Description>Namespace where the application and its services will be deployed.</Description>
<Type>Text</Type>
<Default>default</Default>
<Options>
<Option type='Required'/>
</Options>
</Prop>
<Prop>
<Id>K8S_LABELS</Id>
<Name>Pod labels</Name>
<Description>Labels added to the Kubernetes pods</Description>
<Type>Text</Type>
</Prop>
<Prop>
<Id>K8S_INITIAL_REPLICAS</Id>
<Name>Initial replicas</Name>
<Description>Number of instances of the webapp you want to start the cluster with</Description>
<Type>Text</Type>
<Default>2</Default>
<Options>
<Option type='Required'/>
</Options>
</Prop>
<Prop>
<Id>K8S_SERVICE_TYPE</Id>
<Name>Exposed service type</Name>
<Description>Type of the Kubernetes main service. NodePort is usually the best option for local testing while LoadBalancer is best for external Cloud Providers.(https://kubernetes.io/docs/concepts/services-networking/service/)</Description>
<Type>Combo</Type>
<Default>LoadBalancer</Default>
<Metadata />
<Values>
<Value id="NodePort" desc="NodePort" />
<Value id="LoadBalancer" desc="LoadBalancer" />
</Values>
<Options>
<Option type='Required'/>
</Options>
</Prop>
<Prop>
<Id>K8S_ENABLE_REDIS</Id>
<Name>Enable Redis session management</Name>
<Description>Includes a container with a Redis service to help the application session management</Description>
<Type>Boolean</Type>
</Prop>
</Childs>
</Group>
</Object>
</Content>