[COMMON][MARIADB] Upgrade Mariadb DB galera version
[oom.git] / kubernetes / so / components / so-cnf-adapter / values.yaml
1 # Copyright © 2020 Huawei Technologies Co., Ltd.
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 # Global configuration defaults.
16 #################################################################
17 global:
18   nodePortPrefix: 302
19   nodePortPrefixExt: 304
20   soCryptoImage: sdesbure/so_crypto:latest
21   persistence:
22     mountPath: /dockerdata-nfs
23   security:
24     aaf:
25       enabled: false
26   aaf:
27     auth:
28       header: ${AAF_AUTH}
29 #################################################################
30 # Secrets metaconfig
31 #################################################################
32 secrets:
33   - uid: db-user-creds
34     type: basicAuth
35     externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
36     login: '{{ .Values.db.userName }}'
37     password: '{{ .Values.db.userPassword }}'
38     passwordPolicy: required
39   - uid: db-admin-creds
40     type: basicAuth
41     externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
42     login: '{{ .Values.db.adminName }}'
43     password: '{{ .Values.db.adminPassword }}'
44     passwordPolicy: required
45   - uid: server-actuator-creds
46     name: '{{ include "common.release" . }}-so-cnf-actuator-creds'
47     type: basicAuth
48     externalSecret: '{{ tpl (default "" .Values.server.actuatorCredsExternalSecret) . }}'
49     login: '{{ .Values.server.actuator.username }}'
50     password: '{{ .Values.server.actuator.password }}'
51     passwordPolicy: required
52   - uid: so-aaf-creds
53     name: '{{ include "common.release" . }}-so-cnf-aaf-creds'
54     type: basicAuth
55     externalSecret: '{{ tpl (default "" .Values.server.aafCredsExternalSecret) . }}'
56     login: '{{ .Values.server.aaf.username }}'
57     password: '{{ .Values.server.aaf.password }}'
58     passwordPolicy: required
59   - uid: so-aai-creds
60     name: '{{ include "common.release" . }}-so-cnf-aai-creds'
61     type: basicAuth
62     externalSecret: '{{ tpl (default "" .Values.server.aaiCredsExternalSecret) . }}'
63     login: '{{ .Values.server.aai.username }}'
64     password: '{{ .Values.server.aai.password }}'
65     passwordPolicy: required
66   - uid: cnf-adapter-mso-key
67     name: '{{ include "common.release" . }}-so-cnf-mso-key'
68     type: password
69     externalSecret: '{{ tpl (default "" .Values.mso.msoKeySecret) . }}'
70     password: '{{ .Values.mso.msoKey }}'
71 #secretsFilePaths: |
72 #  - 'my file 1'
73 #  - '{{ include "templateThatGeneratesFileName" . }}'
74 #################################################################
75 # Application configuration defaults.
76 #################################################################
77 image: onap/so/mso-cnf-adapter:1.7.1
78 pullPolicy: Always
79 db:
80   userName: so_user
81   userPassword: so_User123
82   # userCredsExternalSecret: some secret
83   adminName: so_admin
84   adminPassword: so_Admin123
85   # adminCredsExternalSecret: some secret
86 server:
87   aaf:
88     username: so@so.onap.org
89     password: demo123456
90   # aafCredsExternalSecret: some secret
91   aai:
92     username: aai@aai.onap.org
93     password: demo123456!
94     auth: ${AAI_AUTH}
95   # aaiCredsExternalSecret: some secret
96   actuator:
97     username: mso_admin
98     password: password1$
99   # actuatorCredsExternalSecret: some secret
100 mso:
101   msoKey: 07a7159d3bf51a0e53be7a8f89699be7
102   # msoKeySecret: some secret
103   adapters:
104     requestDb:
105       auth: ${REQUEST_AUTH}
106 replicaCount: 1
107 minReadySeconds: 10
108 containerPort: &containerPort 8090
109 logPath: ./logs/cnf/
110 app: cnf-adapter
111 service:
112   type: ClusterIP
113   ports:
114     - name: http-api
115       port: *containerPort
116 updateStrategy:
117   type: RollingUpdate
118   maxUnavailable: 1
119   maxSurge: 1
120 soHelpers:
121   nameOverride: so-cnf-cert-init
122   certInitializer:
123     nameOverride: so-cnf-cert-init
124     credsPath: /opt/app/osaaf/local
125   cadi:
126     apiEnforcement: org.onap.so.openStackAdapterPerm
127   containerPort: *containerPort
128 # Resource Limit flavor -By Default using small
129 flavor: small
130 # Segregation for Different environment (Small and Large)
131 resources:
132   small:
133     limits:
134       memory: 4Gi
135       cpu: 2000m
136     requests:
137       memory: 1Gi
138       cpu: 500m
139   large:
140     limits:
141       memory: 8Gi
142       cpu: 4000m
143     requests:
144       memory: 2Gi
145       cpu: 1000m
146   unlimited: {}
147 livenessProbe:
148   path: /manage/health
149   port: 8090
150   scheme: HTTP
151   initialDelaySeconds: 600
152   periodSeconds: 60
153   timeoutSeconds: 10
154   successThreshold: 1
155   failureThreshold: 3
156 ingress:
157   enabled: false
158 nodeSelector: {}
159 tolerations: []
160 affinity: {}
161