Merge "[DMAAP] DMaaP ServiceMesh compatibility"
[oom.git] / kubernetes / sdnc / components / ueb-listener / 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   mariadbGalera:
21     #This flag allows SO to instantiate its own mariadb-galera cluster
22     #If shared instance is used, this chart assumes that DB already exists
23     localCluster: false
24     service: mariadb-galera
25     internalPort: 3306
26     nameOverride: mariadb-galera
27
28 #################################################################
29 # Secrets metaconfig
30 #################################################################
31 secrets:
32   - uid: db-secret
33     name: '{{ include "common.release" . }}-sdnc-ueb-listener-db-secret'
34     type: basicAuth
35     # This is a nasty trick that allows you override this secret using external one
36     # with the same field that is used to pass this to subchart
37     externalSecret: '{{ ternary "" (tpl (default "" (index .Values "mariadb-galera" "config" "userCredentialsExternalSecret")) .) (hasSuffix "sdnc-ueb-listener-db-secret" (index .Values "mariadb-galera" "config" "userCredentialsExternalSecret"))}}'
38     login: '{{ index .Values "mariadb-galera" "config" "userName" }}'
39     password: '{{ index .Values "mariadb-galera" "config" "userPassword" }}'
40     passwordPolicy: required
41   - uid: odl-creds
42     type: basicAuth
43     externalSecret: '{{ tpl (default "" .Values.config.odlCredsExternalSecret) . }}'
44     login: '{{ .Values.config.odlUser }}'
45     password: '{{ .Values.config.odlPassword }}'
46     passwordPolicy: required
47   - uid: ueb-creds
48     type: basicAuth
49     externalSecret: '{{ tpl (default "" .Values.config.uebCredsExternalSecret) . }}'
50     login: '{{ .Values.config.uebUser }}'
51     password: '{{ .Values.config.uebPassword }}'
52     passwordPolicy: required
53
54 #################################################################
55 # Application configuration defaults.
56 #################################################################
57 # application image
58 image: onap/sdnc-ueb-listener-image:2.3.2
59 pullPolicy: Always
60
61 # flag to enable debugging - application support required
62 debugEnabled: false
63
64 # application configuration
65 config:
66   sdncPort: 8282
67   sdncChartName: sdnc
68   sdcbeChartName: sdc-be
69   msgRouterContainerName: message-router
70   configDir: /opt/onap/sdnc/data/properties
71   uebUser: sdnc
72   uebPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
73   # uebCredsExternalSecret: some secret
74   odlUser: admin
75   odlPassword: Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
76   # odlCredsExternalSecret: some secret
77
78 mariadb-galera:
79   # '&mariadbConfig' means we "store" the values for  later use in the file
80   # with '*mariadbConfig' pointer.
81   config:
82     userCredentialsExternalSecret: '{{ include "common.release" . }}-sdnc-ueb-listener-db-secret'
83     userName: sdnctl
84     userPassword: gamma
85     mysqlDatabase: sdnctl
86   nameOverride: ueb-listener-galera
87   service:
88     name: ueb-listener-galera
89     portName: ueb-listener-galera
90     internalPort: 3306
91   replicaCount: 1
92   persistence:
93     enabled: true
94     mountSubPath: ueb-listener/maria/data
95
96 # default number of instances
97 replicaCount: 1
98
99 nodeSelector: {}
100
101 affinity: {}
102
103 # probe configuration parameters
104 liveness:
105   initialDelaySeconds: 10
106   periodSeconds: 10
107   # necessary to disable liveness probe when setting breakpoints
108   # in debugger so K8s doesn't restart unresponsive container
109   enabled: true
110
111 readiness:
112   initialDelaySeconds: 10
113   periodSeconds: 10
114
115 service:
116   name: sdnc-ueb-listener
117
118 ingress:
119   enabled: false
120
121 #Resource limit flavor -By default using small
122 flavor: small
123 #Segregation for different environment (small and large)
124 resources:
125   small:
126     limits:
127       cpu: 2
128       memory: 4Gi
129     requests:
130       cpu: 0.5
131       memory: 1Gi
132   large:
133     limits:
134       cpu: 4
135       memory: 8Gi
136     requests:
137       cpu: 1
138       memory: 2Gi
139   unlimited: {}
140
141 #Pods Service Account
142 serviceAccount:
143   nameOverride: sdnc-ueb-listener
144   roles:
145     - read