Merge "Renaming drools related variable"
[oom.git] / kubernetes / sdnc / values.yaml
1 # Copyright © 2017 Amdocs, Bell Canada
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
18 global:
19   nodePortPrefix: 302
20   nodePortPrefixExt: 304
21   repository: nexus3.onap.org:10001
22   readinessRepository: oomk8s
23   readinessImage: readiness-check:2.0.2
24   loggingRepository: docker.elastic.co
25   loggingImage: beats/filebeat:5.5.0
26   persistence:
27     mountPath: /dockerdata-nfs
28
29 #################################################################
30 # Application configuration defaults.
31 #################################################################
32 # application images
33 repository: nexus3.onap.org:10001
34 pullPolicy: Always
35 image: onap/sdnc-image:1.5.4
36
37
38 # flag to enable debugging - application support required
39 debugEnabled: false
40
41 # application configuration
42 config:
43   odlUid: 100
44   odlGid: 101
45   odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
46   dbRootPassword: secretpassword
47   dbSdnctlUser: sdnctl
48   dbSdnctlDatabase: sdnctl
49   dbSdnctlPassword: gamma
50   enableClustering: true
51   sdncHome: /opt/onap/sdnc
52   binDir: /opt/onap/sdnc/bin
53   etcDir: /opt/onap/sdnc/data
54   geoEnabled: false
55 # if geoEnabled is set to true here, mysql.geoEnabled must be set to true
56 # if geoEnabled is set to true the following 3 values must be set to their proper values
57   myODLCluster: 127.0.0.1
58   peerODLCluster: 127.0.0.1
59   isPrimaryCluster: true
60   configDir: /opt/onap/sdnc/data/properties
61   dmaapTopic: SUCCESS
62   dmaapPort: 3904
63   logstashServiceName: log-ls
64   logstashPort: 5044
65   ansibleServiceName: sdnc-ansible-server
66   ansiblePort: 8000
67   javaHome: /usr/lib/jvm/java-1.8-openjdk
68
69   #local Mariadb-galera cluster
70   localDBCluster: false
71
72   #Shared mariadb-galera details
73   mariadbGalera:
74     chartName: mariadb-galera
75     serviceName: mariadb-galera
76     internalPort: 3306
77
78 # dependency / sub-chart configuration
79 cds:
80   enabled: true
81
82 dmaap-listener:
83   nameOverride: sdnc-dmaap-listener
84   config:
85     sdncChartName: sdnc
86     mysqlChartName: mariadb-galera
87     dmaapPort: 3904
88     sdncPort: 8282
89     configDir: /opt/onap/sdnc/data/properties
90     odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
91
92 ueb-listener:
93   nameOverride: sdnc-ueb-listener
94   config:
95     sdncPort: 8282
96     sdncChartName: sdnc
97     mysqlChartName: mariadb-galera
98     configDir: /opt/onap/sdnc/data/properties
99     odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
100
101 sdnc-portal:
102   config:
103     sdncChartName: sdnc
104     mysqlChartName: mariadb-galera
105     configDir: /opt/onap/sdnc/data/properties
106     dbRootPassword: secretpassword
107     dbSdnctlPassword: gamma
108     odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
109
110 sdnc-ansible-server:
111   service:
112     name: sdnc-ansible-server
113     internalPort: 8000
114   config:
115     mysqlServiceName: mariadb-galera
116
117 mariadb-galera:
118   nameOverride: sdnc-db
119   service:
120     name: sdnc-dbhost
121     internalPort: 3306
122   sdnctlPrefix: sdnc
123   persistence:
124     mountSubPath: sdnc/mariadb-galera
125     enabled: true
126   replicaCount: 1
127
128 dgbuilder:
129   nameOverride: sdnc-dgbuilder
130   config:
131     dbPodName: mariadb-galera
132     dbServiceName: mariadb-galera
133     dbRootPassword: secretpassword
134     dbSdnctlPassword: gamma
135     dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
136   service:
137     name: sdnc-dgbuilder
138     nodePort: "03"
139
140 # default number of instances
141 replicaCount: 1
142
143 nodeSelector: {}
144
145 affinity: {}
146
147 # probe configuration parameters
148 liveness:
149   initialDelaySeconds: 10
150   periodSeconds: 10
151   # necessary to disable liveness probe when setting breakpoints
152   # in debugger so K8s doesn't restart unresponsive container
153   enabled: true
154
155 readiness:
156   initialDelaySeconds: 10
157   periodSeconds: 10
158
159 service:
160   type: NodePort
161   name: sdnc
162   portName: sdnc
163   internalPort: 8181
164   internalPort2: 8101
165   internalPort3: 8080
166   internalPort4: 2550
167
168   #port
169   externalPort: 8282
170   nodePort: "02"
171
172   externalPort2: 8202
173   nodePort2: "08"
174
175   externalPort3: 8280
176   nodePort3: 46
177
178   externalPort4: 8443
179   nodePort4: 67
180
181   clusterPort: 2550
182   clusterPort2: 2650
183   clusterPort3: 2681
184
185   geoNodePort1: 61
186   geoNodePort2: 62
187   geoNodePort3: 63
188   geoNodePort4: 64
189   geoNodePort5: 65
190   geoNodePort6: 66
191
192 ## Persist data to a persitent volume
193 persistence:
194   enabled: true
195
196   ## A manually managed Persistent Volume and Claim
197   ## Requires persistence.enabled: true
198   ## If defined, PVC must be created manually before volume will be bound
199   # existingClaim:
200   volumeReclaimPolicy: Retain
201
202   ## database data Persistent Volume Storage Class
203   ## If defined, storageClassName: <storageClass>
204   ## If set to "-", storageClassName: "", which disables dynamic provisioning
205   ## If undefined (the default) or set to null, no storageClassName spec is
206   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
207   ##   GKE, AWS & OpenStack)
208   accessMode: ReadWriteOnce
209   size: 1Gi
210   mountPath: /dockerdata-nfs
211   mountSubPath: sdnc/mdsal
212   mdsalPath: /opt/opendaylight/current/daexim
213
214 certpersistence:
215   enabled: true
216
217   ## A manually managed Persistent Volume and Claim
218   ## Requires persistence.enabled: true
219   ## If defined, PVC must be created manually before volume will be bound
220   # existingClaim:
221
222   volumeReclaimPolicy: Retain
223   accessMode: ReadWriteOnce
224   size: 50Mi
225   mountPath: /dockerdata-nfs
226   mountSubPath: sdnc/certs
227   certPath: /opt/opendaylight/current/certs
228   ##storageClass: "manual"
229
230 ingress:
231   enabled: false
232
233 #Resource Limit flavor -By Default using small
234 flavor: small
235 #segregation for different envionment (Small and Large)
236
237 resources:
238   small:
239     limits:
240       cpu: 2
241       memory: 4Gi
242     requests:
243       cpu: 1
244       memory: 2Gi
245   large:
246     limits:
247       cpu: 4
248       memory: 8Gi
249     requests:
250       cpu: 2
251       memory: 4Gi
252   unlimited: {}