[SO] Use common secret template in so-catalog-db-adapter
[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   aafEnabled: true
29
30 #################################################################
31 # Application configuration defaults.
32 #################################################################
33 # application images
34 repository: nexus3.onap.org:10001
35 pullPolicy: Always
36 image: onap/sdnc-image:1.7.6
37
38
39 # flag to enable debugging - application support required
40 debugEnabled: false
41
42 # application configuration
43 config:
44   odlUid: 100
45   odlGid: 101
46   odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
47   dbRootPassword: secretpassword
48   dbSdnctlUser: sdnctl
49   dbSdnctlDatabase: sdnctl
50   dbSdnctlPassword: gamma
51   enableClustering: true
52   sdncHome: /opt/onap/sdnc
53   binDir: /opt/onap/sdnc/bin
54   etcDir: /opt/onap/sdnc/data
55   geoEnabled: false
56 # if geoEnabled is set to true here, mysql.geoEnabled must be set to true
57 # if geoEnabled is set to true the following 3 values must be set to their proper values
58   myODLCluster: 127.0.0.1
59   peerODLCluster: 127.0.0.1
60   isPrimaryCluster: true
61   configDir: /opt/onap/sdnc/data/properties
62   dmaapTopic: SUCCESS
63   dmaapPort: 3904
64   logstashServiceName: log-ls
65   logstashPort: 5044
66   ansibleServiceName: sdnc-ansible-server
67   ansiblePort: 8000
68   javaHome: /usr/lib/jvm/java-1.8-openjdk
69
70   odl:
71     etcDir: /opt/opendaylight/etc
72     binDir: /opt/opendaylight/bin
73     salConfigDir: /opt/opendaylight/system/org/opendaylight/controller/sal-clustering-config
74     salConfigVersion: 1.8.2
75     akka:
76       seedNodeTimeout: 15s
77       circuitBreaker:
78         maxFailures: 10
79         callTimeout: 90s
80         resetTimeout: 30s
81       recoveryEventTimeout: 90s
82     datastore:
83       persistentActorRestartMinBackoffInSeconds: 10
84       persistentActorRestartMaxBackoffInSeconds: 40
85       persistentActorRestartResetBackoffInSeconds: 20
86       shardTransactionCommitTimeoutInSeconds: 120
87       shardIsolatedLeaderCheckIntervalInMillis: 30000
88       operationTimeoutInSeconds: 120
89     javaOptions:
90       maxGCPauseMillis: 100
91       parallelGCThreads : 3
92       numberGGLogFiles: 10
93
94
95
96   #local Mariadb-galera cluster
97   localDBCluster: false
98
99   #Shared mariadb-galera details
100   mariadbGalera:
101     chartName: mariadb-galera
102     serviceName: mariadb-galera
103     internalPort: 3306
104
105 # dependency / sub-chart configuration
106 aaf_init:
107   agentImage: onap/aaf/aaf_agent:2.1.15
108   app_ns: "org.osaaf.aaf"
109   fqi: "sdnc@sdnc.onap.org"
110   fqdn: "sdnc"
111   public_fqdn: "sdnc.onap.org"
112   deploy_fqi: "deployer@people.osaaf.org"
113   deploy_pass: "demo123456!"
114   cadi_latitude: "38.0"
115   cadi_longitude: "-72.0"
116
117 cds:
118   enabled: false
119
120 dmaap-listener:
121   nameOverride: sdnc-dmaap-listener
122   config:
123     sdncChartName: sdnc
124     mysqlChartName: mariadb-galera
125     dmaapPort: 3904
126     sdncPort: 8282
127     configDir: /opt/onap/sdnc/data/properties
128     odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
129
130 ueb-listener:
131   nameOverride: sdnc-ueb-listener
132   config:
133     sdncPort: 8282
134     sdncChartName: sdnc
135     mysqlChartName: mariadb-galera
136     configDir: /opt/onap/sdnc/data/properties
137     odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
138
139 sdnc-portal:
140   config:
141     sdncChartName: sdnc
142     mysqlChartName: mariadb-galera
143     configDir: /opt/onap/sdnc/data/properties
144     dbRootPassword: secretpassword
145     dbSdnctlPassword: gamma
146     odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
147
148 sdnc-ansible-server:
149   service:
150     name: sdnc-ansible-server
151     internalPort: 8000
152   config:
153     mysqlServiceName: mariadb-galera
154
155 mariadb-galera:
156   nameOverride: sdnc-db
157   service:
158     name: sdnc-dbhost
159     internalPort: 3306
160   sdnctlPrefix: sdnc
161   persistence:
162     mountSubPath: sdnc/mariadb-galera
163     enabled: true
164   replicaCount: 1
165
166 dgbuilder:
167   nameOverride: sdnc-dgbuilder
168   config:
169     dbPodName: mariadb-galera
170     dbServiceName: mariadb-galera
171     dbRootPassword: secretpassword
172     dbSdnctlPassword: gamma
173     dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
174   service:
175     name: sdnc-dgbuilder
176     nodePort: "03"
177
178 # default number of instances
179 replicaCount: 1
180
181 nodeSelector: {}
182
183 affinity: {}
184
185 # probe configuration parameters
186 liveness:
187   initialDelaySeconds: 10
188   periodSeconds: 10
189   # necessary to disable liveness probe when setting breakpoints
190   # in debugger so K8s doesn't restart unresponsive container
191   enabled: true
192
193 readiness:
194   initialDelaySeconds: 10
195   periodSeconds: 10
196
197 service:
198   type: NodePort
199   name: sdnc
200   portName: sdnc
201   internalPort: 8181
202   internalPort2: 8101
203   internalPort3: 8080
204   internalPort4: 8443
205
206   #port
207   externalPort: 8282
208   nodePort: "02"
209
210   externalPort2: 8202
211   nodePort2: "08"
212
213   externalPort3: 8280
214   nodePort3: 46
215
216   externalPort4: 8443
217   nodePort4: 67
218
219   clusterPort: 2550
220   clusterPort2: 2650
221   clusterPort3: 2681
222
223   geoNodePort1: 61
224   geoNodePort2: 62
225   geoNodePort3: 63
226   geoNodePort4: 64
227   geoNodePort5: 65
228   geoNodePort6: 66
229
230 ## Persist data to a persitent volume
231 persistence:
232   enabled: true
233
234   ## A manually managed Persistent Volume and Claim
235   ## Requires persistence.enabled: true
236   ## If defined, PVC must be created manually before volume will be bound
237   # existingClaim:
238   volumeReclaimPolicy: Retain
239
240   ## database data Persistent Volume Storage Class
241   ## If defined, storageClassName: <storageClass>
242   ## If set to "-", storageClassName: "", which disables dynamic provisioning
243   ## If undefined (the default) or set to null, no storageClassName spec is
244   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
245   ##   GKE, AWS & OpenStack)
246   accessMode: ReadWriteOnce
247   size: 1Gi
248   mountPath: /dockerdata-nfs
249   mountSubPath: sdnc/mdsal
250   mdsalPath: /opt/opendaylight/current/daexim
251
252 certpersistence:
253   enabled: true
254
255   ## A manually managed Persistent Volume and Claim
256   ## Requires persistence.enabled: true
257   ## If defined, PVC must be created manually before volume will be bound
258   # existingClaim:
259
260   volumeReclaimPolicy: Retain
261   accessMode: ReadWriteOnce
262   size: 50Mi
263   mountPath: /dockerdata-nfs
264   mountSubPath: sdnc/certs
265   certPath: /opt/app/osaaf
266   ##storageClass: "manual"
267
268 ingress:
269   enabled: false
270   service:
271     - baseaddr: "sdnc"
272       name: "sdnc"
273       port: 8443
274   config:
275     ssl: "redirect"
276
277 #Resource Limit flavor -By Default using small
278 flavor: small
279 #segregation for different envionment (Small and Large)
280
281 resources:
282   small:
283     limits:
284       cpu: 2
285       memory: 4Gi
286     requests:
287       cpu: 1
288       memory: 2Gi
289   large:
290     limits:
291       cpu: 4
292       memory: 8Gi
293     requests:
294       cpu: 2
295       memory: 4Gi
296   unlimited: {}