[SO] Update SO images to 1.7.12
[oom.git] / kubernetes / so / components / so-request-db-adapter / 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   repository: nexus3.onap.org:10001
21   readinessImage: onap/oom/readiness:3.0.1
22   aafAgentImage: onap/aaf/aaf_agent:2.1.20
23   envsubstImage: dibi/envsubst
24   persistence:
25     mountPath: /dockerdata-nfs
26   security:
27     aaf:
28       enabled: false
29   aaf:
30     auth:
31       header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
32   mariadbGalera:
33     serviceName: mariadb-galera
34     servicePort: '3306'
35
36 readinessCheck:
37   wait_for:
38     - so-mariadb-config
39
40 #################################################################
41 # Secrets metaconfig
42 #################################################################
43 secrets:
44   - uid: db-user-creds
45     type: basicAuth
46     externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
47     login: '{{ .Values.db.userName }}'
48     password: '{{ .Values.db.userPassword }}'
49     passwordPolicy: required
50   - uid: db-admin-creds
51     type: basicAuth
52     externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
53     login: '{{ .Values.db.adminName }}'
54     password: '{{ .Values.db.adminPassword }}'
55     passwordPolicy: required
56
57 #secretsFilePaths: |
58 #  - 'my file 1'
59 #  - '{{ include "templateThatGeneratesFileName" . }}'
60
61 #################################################################
62 # Application configuration defaults.
63 #################################################################
64 repository: nexus3.onap.org:10001
65 image: onap/so/request-db-adapter:1.7.12
66
67 pullPolicy: Always
68
69 db:
70   userName: so_user
71   userPassword: so_User123
72   # userCredsExternalSecret: some secret
73   adminName: so_admin
74   adminPassword: so_Admin123
75   # adminCredsExternalSecret: some secret
76
77 mso:
78   adapters:
79     requestDb:
80       auth: Basic YnBlbDpwYXNzd29yZDEk
81
82 replicaCount: 1
83 minReadySeconds: 10
84 containerPort: &containerPort 8083
85 logPath: ./logs/reqdb/
86 app: request-db-adapter
87 service:
88     type: ClusterIP
89     internalPort: *containerPort
90     externalPort: *containerPort
91     portName: so-reqdb-port
92 updateStrategy:
93     type: RollingUpdate
94     maxUnavailable: 1
95     maxSurge: 1
96
97 #################################################################
98 # soHelpers part
99 #################################################################
100 soHelpers:
101   nameOverride: so-requestdb-cert-init
102   certInitializer:
103     nameOverride: so-requestdb-cert-init
104     credsPath: /opt/app/osaaf/local
105   cadi:
106     apiEnforcement: org.onap.so.requestDbAdapterPerm
107   containerPort: *containerPort
108
109 # Resource Limit flavor -By Default using small
110 flavor: small
111 # Segregation for Different environment (Small and Large)
112 resources:
113   small:
114     limits:
115       memory: 4Gi
116       cpu: 2000m
117     requests:
118       memory: 1Gi
119       cpu: 500m
120   large:
121     limits:
122       memory: 8Gi
123       cpu: 4000m
124     requests:
125       memory: 2Gi
126       cpu: 1000m
127   unlimited: {}
128 livenessProbe:
129     path: /manage/health
130     port: 8083
131     scheme: HTTP
132     initialDelaySeconds: 600
133     periodSeconds: 60
134     timeoutSeconds: 10
135     successThreshold: 1
136     failureThreshold: 3
137 ingress:
138   enabled: false
139 nodeSelector: {}
140 tolerations: []
141 affinity: {}