make sdnctl user db password configurable for SDNC
[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   repository: nexus3.onap.org:10001
21   readinessRepository: oomk8s
22   readinessImage: readiness-check:2.0.0
23   loggingRepository: docker.elastic.co
24   loggingImage: beats/filebeat:5.5.0
25   persistence:
26     mountPath: /dockerdata-nfs
27
28 #################################################################
29 # Application configuration defaults.
30 #################################################################
31 # application images
32 repository: nexus3.onap.org:10001
33 pullPolicy: Always
34 image: onap/sdnc-image:1.3-STAGING-latest
35
36 # flag to enable debugging - application support required
37 debugEnabled: false
38
39 # application configuration
40 config:
41   odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
42   dbRootPassword: openECOMP1.0
43   dbSdnctlPassword: gamma
44   enableClustering: true
45   binDir: /opt/onap/sdnc/bin
46   geoEnabled: false
47 # if geoEnabled is set to true the following 3 values must be set to their proper values
48   myODLCluster: 127.0.0.1
49   peerODLCluster: 127.0.0.1
50   isPrimaryCluster: false
51   configDir: /opt/onap/sdnc/data/properties
52   dmaapTopic: SUCCESS
53   dmaapPort: 3904
54   logstashServiceName: log-ls
55   logstashPort: 5044
56   ansibleServiceName: sdnc-ansible-server
57   ansiblePort: 8000
58
59
60 # dependency / sub-chart configuration
61 dmaap-listener:
62   nameOverride: sdnc-dmaap-listener
63   config:
64     sdncChartName: sdnc
65     mysqlChartName: sdnc-db
66     dmaapPort: 3904
67     sdncPort: 8282
68     configDir: /opt/onap/sdnc/data/properties
69     odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
70
71 ueb-listener:
72   nameOverride: sdnc-ueb-listener
73   config:
74     sdncPort: 8282
75     sdncChartName: sdnc
76     mysqlChartName: sdnc-db
77     configDir: /opt/onap/sdnc/data/properties
78     odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
79
80 sdnc-portal:
81   config:
82     sdncChartName: sdnc
83     mysqlChartName: sdnc-db
84     configDir: /opt/onap/sdnc/data/properties
85     dbRootPassword: openECOMP1.0
86     dbSdnctlPassword: gamma
87     odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
88
89 sdnc-ansible-server:
90   service:
91     name: sdnc-ansible-server
92     internalPort: 8000
93   config:
94     mysqlServiceName: sdnc-dbhost
95
96 mysql:
97   nameOverride: sdnc-db
98   service:
99     name: sdnc-dbhost
100     internalPort: 3306
101   nfsprovisionerPrefix: sdnc
102   sdnctlPrefix: sdnc
103   persistence:
104     mountSubPath: sdnc/mysql
105     enabled: true
106   disableNfsProvisioner: true
107   replicaCount: 1
108
109 dgbuilder:
110   nameOverride: sdnc-dgbuilder
111   config:
112     dbPodName: sdnc-db
113     dbServiceName: sdnc-dbhost
114     dbRootPassword: openECOMP1.0
115     dbSdnctlPassword: gamma
116     dgUserPassword: cc03e747a6afbbcbf8be7668acfebee5
117   service:
118     name: sdnc-dgbuilder
119     nodePort: "03"
120
121 # default number of instances
122 replicaCount: 1
123
124 nodeSelector: {}
125
126 affinity: {}
127
128 # probe configuration parameters
129 liveness:
130   initialDelaySeconds: 10
131   periodSeconds: 10
132   # necessary to disable liveness probe when setting breakpoints
133   # in debugger so K8s doesn't restart unresponsive container
134   enabled: true
135
136 readiness:
137   initialDelaySeconds: 10
138   periodSeconds: 10
139
140 service:
141   type: NodePort
142   name: sdnc
143   portName: sdnc
144   internalPort: 8181
145   internalPort2: 8101
146   internalPort3: 8080
147   internalPort4: 2550
148
149   #port
150   externalPort: 8282
151   nodePort: "02"
152
153   externalPort2: 8202
154   nodePort2: "08"
155
156   externalPort3: 8280
157   nodePort3: 46
158
159   externalPort4: 8443
160   nodePort4: 67
161
162   clusterPort: 2550
163   clusterPort2: 2650
164   clusterPort3: 2681
165
166   geoNodePort1: 61
167   geoNodePort2: 62
168   geoNodePort3: 63
169   geoNodePort4: 64
170   geoNodePort5: 65
171   geoNodePort6: 66
172
173 ## Persist data to a persitent volume
174 persistence:
175   enabled: true
176
177   ## A manually managed Persistent Volume and Claim
178   ## Requires persistence.enabled: true
179   ## If defined, PVC must be created manually before volume will be bound
180   # existingClaim:
181   volumeReclaimPolicy: Retain
182
183   ## database data Persistent Volume Storage Class
184   ## If defined, storageClassName: <storageClass>
185   ## If set to "-", storageClassName: "", which disables dynamic provisioning
186   ## If undefined (the default) or set to null, no storageClassName spec is
187   ##   set, choosing the default provisioner.  (gp2 on AWS, standard on
188   ##   GKE, AWS & OpenStack)
189   accessMode: ReadWriteOnce
190   size: 1Gi
191   mountPath: /dockerdata-nfs
192   mountSubPath: sdnc/mdsal
193   mdsalPath: /opt/opendaylight/current/daexim
194
195 ingress:
196   enabled: false
197
198 resources: {}
199 #resources:
200 #  limits:
201 #    cpu: 2
202 #    memory: 4Gi
203 #  requests:
204 #    cpu: 2
205 #    memory: 4Gi