[SO] London release image updates
[oom.git] / kubernetes / so / components / so-sdc-controller / values.yaml
1 # Copyright © 2018 AT&T USA
2 # Copyright © 2020 Huawei
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 # Global configuration defaults.
16 #################################################################
17 global:
18   nodePortPrefix: 302
19   nodePortPrefixExt: 304
20   persistence:
21     mountPath: /dockerdata-nfs
22   mariadbGalera:
23     serviceName: mariadb-galera
24     servicePort: '3306'
25   soSdcListenerKafkaUser: so-sdc-list-user
26
27 readinessCheck:
28   wait_for:
29     jobs:
30       - '{{ include "common.release" . }}-so-mariadb-config-job'
31
32 #################################################################
33 # Secrets metaconfig
34 #################################################################
35 secrets:
36   - uid: db-user-creds
37     type: basicAuth
38     externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
39     login: '{{ .Values.db.userName }}'
40     password: '{{ .Values.db.userPassword }}'
41     passwordPolicy: required
42   - uid: db-admin-creds
43     type: basicAuth
44     externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
45     login: '{{ .Values.db.adminName }}'
46     password: '{{ .Values.db.adminPassword }}'
47     passwordPolicy: required
48
49 #secretsFilePaths: |
50 #  - 'my file 1'
51 #  - '{{ include "templateThatGeneratesFileName" . }}'
52
53 #################################################################
54 # Application configuration defaults.
55 #################################################################
56 image: onap/so/sdc-controller:1.12.1
57 pullPolicy: Always
58
59 db:
60   userName: so_user
61   userPassword: so_User123
62   # userCredsExternalSecret: some secret
63   adminName: so_admin
64   adminPassword: so_Admin123
65   # adminCredsExternalSecret: some secret
66
67 aai:
68   auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
69 mso:
70   msoKey: 07a7159d3bf51a0e53be7a8f89699be7
71   requestDb:
72     auth: Basic YnBlbDpwYXNzd29yZDEk
73   asdc:
74     config:
75       key: 566B754875657232314F5548556D3665
76   asdc-connections:
77     asdc-controller1:
78       password: 76966BDD3C7414A03F7037264FF2E6C8EEC6C28F2B67F2840A1ED857C0260FEE731D73F47F828E5527125D29FD25D3E0DE39EE44C058906BF1657DE77BF897EECA93BDC07FA64F
79
80 replicaCount: 1
81 minReadySeconds: 10
82 containerPort: &containerPort 8085
83 logPath: ./logs/sdc/
84 app: sdc-controller
85
86 service:
87   type: ClusterIP
88   ports:
89     - name: http
90       port: *containerPort
91
92 updateStrategy:
93   type: RollingUpdate
94   maxUnavailable: 1
95   maxSurge: 1
96
97 #################################################################
98 # soHelpers part
99 #################################################################
100 soHelpers:
101   containerPort: *containerPort
102
103 # Resource Limit flavor -By Default using small
104 flavor: small
105 # Segregation for Different environment (Small and Large)
106 resources:
107   small:
108     limits:
109       memory: 4Gi
110       cpu: 2000m
111     requests:
112       memory: 1Gi
113       cpu: 500m
114   large:
115     limits:
116       memory: 8Gi
117       cpu: 4000m
118     requests:
119       memory: 2Gi
120       cpu: 1000m
121   unlimited: {}
122
123 livenessProbe:
124   path: /manage/health
125   port: 8085
126   scheme: HTTP
127   initialDelaySeconds: 600
128   periodSeconds: 60
129   timeoutSeconds: 10
130   successThreshold: 1
131   failureThreshold: 3
132
133 ingress:
134   enabled: false
135
136 serviceMesh:
137   authorizationPolicy:
138     authorizedPrincipals:
139       - serviceAccount: robot-read
140       - serviceAccount: so-read
141
142 nodeSelector: {}
143 tolerations: []
144 affinity: {}
145
146 # Strimzi KafkaUser config
147 kafkaUser:
148   acls:
149     - name: SO
150       type: group
151       operations: [Read]
152     - name: SDC-DISTR
153       type: topic
154       patternType: prefix
155       operations: [Read, Write]
156
157 #Pods Service Account
158 serviceAccount:
159   nameOverride: so-sdc-controller
160   roles:
161     - read
162
163 #Logs configuration
164 log:
165   path: /var/log/onap
166 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'