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