[SO] Cleanup of SO charts
[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   - uid: so-sdc-kafka-secret
49     externalSecret: '{{ tpl (default "" .Values.config.jaasConfExternalSecret) . }}'
50     type: genericKV
51     envs:
52       - name: sasl.jaas.config
53         value: '{{ .Values.config.someConfig }}'
54         policy: generate
55
56 #secretsFilePaths: |
57 #  - 'my file 1'
58 #  - '{{ include "templateThatGeneratesFileName" . }}'
59
60 #################################################################
61 # Application configuration defaults.
62 #################################################################
63 image: onap/so/sdc-controller:1.12.0
64 pullPolicy: Always
65
66 db:
67   userName: so_user
68   userPassword: so_User123
69   # userCredsExternalSecret: some secret
70   adminName: so_admin
71   adminPassword: so_Admin123
72   # adminCredsExternalSecret: some secret
73
74 aai:
75   auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
76 mso:
77   msoKey: 07a7159d3bf51a0e53be7a8f89699be7
78   requestDb:
79     auth: Basic YnBlbDpwYXNzd29yZDEk
80   asdc:
81     config:
82       key: 566B754875657232314F5548556D3665
83   asdc-connections:
84     asdc-controller1:
85       password: 76966BDD3C7414A03F7037264FF2E6C8EEC6C28F2B67F2840A1ED857C0260FEE731D73F47F828E5527125D29FD25D3E0DE39EE44C058906BF1657DE77BF897EECA93BDC07FA64F
86 config:
87   someConfig: blah
88   kafka:
89     securityProtocol: SASL_PLAINTEXT
90     saslMechanism: SCRAM-SHA-512
91     authType: simple
92     sdcTopic:
93       pattern: SDC-DIST
94       consumerGroup: so
95       clientId: SO-sdc-controller
96
97 replicaCount: 1
98 minReadySeconds: 10
99 containerPort: &containerPort 8085
100 logPath: ./logs/sdc/
101 app: sdc-controller
102 service:
103   type: ClusterIP
104   ports:
105     - name: http
106       port: *containerPort
107 updateStrategy:
108   type: RollingUpdate
109   maxUnavailable: 1
110   maxSurge: 1
111
112 #################################################################
113 # soHelpers part
114 #################################################################
115 soHelpers:
116   containerPort: *containerPort
117
118 # Resource Limit flavor -By Default using small
119 flavor: small
120 # Segregation for Different environment (Small and Large)
121 resources:
122   small:
123     limits:
124       memory: 4Gi
125       cpu: 2000m
126     requests:
127       memory: 1Gi
128       cpu: 500m
129   large:
130     limits:
131       memory: 8Gi
132       cpu: 4000m
133     requests:
134       memory: 2Gi
135       cpu: 1000m
136   unlimited: {}
137 livenessProbe:
138   path: /manage/health
139   port: 8085
140   scheme: HTTP
141   initialDelaySeconds: 600
142   periodSeconds: 60
143   timeoutSeconds: 10
144   successThreshold: 1
145   failureThreshold: 3
146 ingress:
147   enabled: false
148 nodeSelector: {}
149 tolerations: []
150 affinity: {}
151
152 #Pods Service Account
153 serviceAccount:
154   nameOverride: so-sdc-controller
155   roles:
156     - read
157
158 #Logs configuration
159 log:
160   path: /var/log/onap
161 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'