Update helm charts to use final version of SDNC and CDS docker images
[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 # flag to enable debugging - application support required
38 debugEnabled: false
39
40 # application configuration
41 config:
42   odlUid: 100
43   odlGid: 101
44   odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
45   dbRootPassword: secretpassword
46   dbSdnctlPassword: gamma
47   enableClustering: true
48   binDir: /opt/onap/sdnc/bin
49   geoEnabled: false
50 # if geoEnabled is set to true here, mysql.geoEnabled must be set to true
51 # if geoEnabled is set to true the following 3 values must be set to their proper values
52   myODLCluster: 127.0.0.1
53   peerODLCluster: 127.0.0.1
54   isPrimaryCluster: true
55   configDir: /opt/onap/sdnc/data/properties
56   dmaapTopic: SUCCESS
57   dmaapPort: 3904
58   logstashServiceName: log-ls
59   logstashPort: 5044
60   ansibleServiceName: sdnc-ansible-server
61   ansiblePort: 8000
62   javaHome: /usr/lib/jvm/java-1.8-openjdk
63
64   #local Mariadb-galera cluster
65   localDBCluster: false
66
67   #Shared mariadb-galera details
68   mariadbGalera:
69     chartName: mariadb-galera
70     serviceName: mariadb-galera
71     internalPort: 3306
72
73 # dependency / sub-chart configuration
74 cds:
75   enabled: true
76
77 dmaap-listener:
78   nameOverride: sdnc-dmaap-listener
79   config:
80     sdncChartName: sdnc
81     mysqlChartName: mariadb-galera
82     dmaapPort: 3904
83     sdncPort: 8282
84     configDir: /opt/onap/sdnc/data/properties
85     odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
86
87 ueb-listener:
88   nameOverride: sdnc-ueb-listener
89   config:
90     sdncPort: 8282
91     sdncChartName: sdnc
92     mysqlChartName: mariadb-galera
93     configDir: /opt/onap/sdnc/data/properties
94     odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
95
96 sdnc-portal:
97   config:
98     sdncChartName: sdnc
99     mysqlChartName: mariadb-galera
100     configDir: /opt/onap/sdnc/data/properties
101     dbRootPassword: secretpassword
102     dbSdnctlPassword: gamma
103     odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
104
105 sdnc-ansible-server:
106   service:
107     name: sdnc-ansible-server
108     internalPort: 8000
109   config:
110     mysqlServiceName: mariadb-galera
111
112 mariadb-galera:
113   nameOverride: sdnc-db
114   service:
115     name: sdnc-dbhost
116     internalPort: 3306
117   sdnctlPrefix: sdnc
118   persistence:
119     mountSubPath: sdnc/mariadb-galera
120     enabled: true
121   replicaCount: 1
122
123 dgbuilder:
124   nameOverride: sdnc-dgbuilder
125   config:
126     dbPodName: mariadb-galera
127     dbServiceName: mariadb-galera
128     dbRootPassword: secretpassword
129     dbSdnctlPassword: gamma
130     dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
131   service:
132     name: sdnc-dgbuilder
133     nodePort: "03"
134
135 # default number of instances
136 replicaCount: 1
137
138 nodeSelector: {}
139
140 affinity: {}
141
142 # probe configuration parameters
143 liveness:
144   initialDelaySeconds: 10
145   periodSeconds: 10
146   # necessary to disable liveness probe when setting breakpoints
147   # in debugger so K8s doesn't restart unresponsive container
148   enabled: true
149
150 readiness:
151   initialDelaySeconds: 10
152   periodSeconds: 10
153
154 service:
155   type: NodePort
156   name: sdnc
157   portName: sdnc
158   internalPort: 8181
159   internalPort2: 8101
160   internalPort3: 8080
161   internalPort4: 2550
162
163   #port
164   externalPort: 8282
165   nodePort: "02"
166
167   externalPort2: 8202
168   nodePort2: "08"
169
170   externalPort3: 8280
171   nodePort3: 46
172
173   externalPort4: 8443
174   nodePort4: 67
175
176   clusterPort: 2550
177   clusterPort2: 2650
178   clusterPort3: 2681
179
180   geoNodePort1: 61
181   geoNodePort2: 62
182   geoNodePort3: 63
183   geoNodePort4: 64
184   geoNodePort5: 65
185   geoNodePort6: 66
186
187 ## Persist data to a persitent volume
188 persistence:
189   enabled: true
190
191   ## A manually managed Persistent Volume and Claim
192   ## Requires persistence.enabled: true
193   ## If defined, PVC must be created manually before volume will be bound
194   # existingClaim:
195   volumeReclaimPolicy: Retain
196
197   ## database data Persistent Volume Storage Class
198   ## If defined, storageClassName: <storageClass>
199   ## If set to "-", storageClassName: "", which disables dynamic provisioning
200   ## If undefined (the default) or set to null, no storageClassName spec is
201   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
202   ##   GKE, AWS & OpenStack)
203   accessMode: ReadWriteOnce
204   size: 1Gi
205   mountPath: /dockerdata-nfs
206   mountSubPath: sdnc/mdsal
207   mdsalPath: /opt/opendaylight/current/daexim
208
209 certpersistence:
210   enabled: true
211
212   ## A manually managed Persistent Volume and Claim
213   ## Requires persistence.enabled: true
214   ## If defined, PVC must be created manually before volume will be bound
215   # existingClaim:
216
217   volumeReclaimPolicy: Retain
218   accessMode: ReadWriteOnce
219   size: 50Mi
220   mountPath: /dockerdata-nfs
221   mountSubPath: sdnc/certs
222   certPath: /opt/opendaylight/current/certs
223   ##storageClass: "manual"
224
225 ingress:
226   enabled: false
227
228 #Resource Limit flavor -By Default using small
229 flavor: small
230 #segregation for different envionment (Small and Large)
231
232 resources:
233   small:
234     limits:
235       cpu: 2
236       memory: 4Gi
237     requests:
238       cpu: 1
239       memory: 2Gi
240   large:
241     limits:
242       cpu: 4
243       memory: 8Gi
244     requests:
245       cpu: 2
246       memory: 4Gi
247   unlimited: {}