Merge "Add the schema service helm charts"
[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 dmaap-listener:
64   nameOverride: sdnc-dmaap-listener
65   config:
66     sdncChartName: sdnc
67     mysqlChartName: sdnc-db
68     dmaapPort: 3904
69     sdncPort: 8282
70     configDir: /opt/onap/sdnc/data/properties
71     odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
72
73 ueb-listener:
74   nameOverride: sdnc-ueb-listener
75   config:
76     sdncPort: 8282
77     sdncChartName: sdnc
78     mysqlChartName: sdnc-db
79     configDir: /opt/onap/sdnc/data/properties
80     odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
81
82 sdnc-portal:
83   config:
84     sdncChartName: sdnc
85     mysqlChartName: sdnc-db
86     configDir: /opt/onap/sdnc/data/properties
87     dbRootPassword: openECOMP1.0
88     dbSdnctlPassword: gamma
89     odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
90
91 sdnc-ansible-server:
92   service:
93     name: sdnc-ansible-server
94     internalPort: 8000
95   config:
96     mysqlServiceName: sdnc-dbhost
97
98 mysql:
99   nameOverride: sdnc-db
100   service:
101     name: sdnc-dbhost
102     internalPort: 3306
103   nfsprovisionerPrefix: sdnc
104   sdnctlPrefix: sdnc
105   persistence:
106     mountSubPath: sdnc/mysql
107     enabled: true
108   disableNfsProvisioner: true
109   replicaCount: 1
110   geoEnabled: false
111
112 dgbuilder:
113   nameOverride: sdnc-dgbuilder
114   config:
115     dbPodName: sdnc-db
116     dbServiceName: sdnc-dbhost
117     dbRootPassword: openECOMP1.0
118     dbSdnctlPassword: gamma
119     dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
120   service:
121     name: sdnc-dgbuilder
122     nodePort: "03"
123
124 # default number of instances
125 replicaCount: 1
126
127 nodeSelector: {}
128
129 affinity: {}
130
131 # probe configuration parameters
132 liveness:
133   initialDelaySeconds: 10
134   periodSeconds: 10
135   # necessary to disable liveness probe when setting breakpoints
136   # in debugger so K8s doesn't restart unresponsive container
137   enabled: true
138
139 readiness:
140   initialDelaySeconds: 10
141   periodSeconds: 10
142
143 service:
144   type: NodePort
145   name: sdnc
146   portName: sdnc
147   internalPort: 8181
148   internalPort2: 8101
149   internalPort3: 8080
150   internalPort4: 2550
151
152   #port
153   externalPort: 8282
154   nodePort: "02"
155
156   externalPort2: 8202
157   nodePort2: "08"
158
159   externalPort3: 8280
160   nodePort3: 46
161
162   externalPort4: 8443
163   nodePort4: 67
164
165   clusterPort: 2550
166   clusterPort2: 2650
167   clusterPort3: 2681
168
169   geoNodePort1: 61
170   geoNodePort2: 62
171   geoNodePort3: 63
172   geoNodePort4: 64
173   geoNodePort5: 65
174   geoNodePort6: 66
175
176 ## Persist data to a persitent volume
177 persistence:
178   enabled: true
179
180   ## A manually managed Persistent Volume and Claim
181   ## Requires persistence.enabled: true
182   ## If defined, PVC must be created manually before volume will be bound
183   # existingClaim:
184   volumeReclaimPolicy: Retain
185
186   ## database data Persistent Volume Storage Class
187   ## If defined, storageClassName: <storageClass>
188   ## If set to "-", storageClassName: "", which disables dynamic provisioning
189   ## If undefined (the default) or set to null, no storageClassName spec is
190   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
191   ##   GKE, AWS & OpenStack)
192   accessMode: ReadWriteOnce
193   size: 1Gi
194   mountPath: /dockerdata-nfs
195   mountSubPath: sdnc/mdsal
196   mdsalPath: /opt/opendaylight/current/daexim
197
198 ingress:
199   enabled: false
200
201 #Resource Limit flavor -By Default using small
202 flavor: small
203 #segregation for different envionment (Small and Large)
204
205 resources:
206   small:
207     limits:
208       cpu: 2
209       memory: 4Gi
210     requests:
211       cpu: 1
212       memory: 2Gi
213   large:
214     limits:
215       cpu: 4
216       memory: 8Gi
217     requests:
218       cpu: 2
219       memory: 4Gi
220   unlimited: {}