Merge "[SO] Update SO images to 1.7.12" into guilin
[oom.git] / kubernetes / so / components / so-catalog-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   app:
33     msoKey: 07a7159d3bf51a0e53be7a8f89699be7
34   mariadbGalera:
35     serviceName: mariadb-galera
36     servicePort: '3306'
37
38 readinessCheck:
39   wait_for:
40     - so-mariadb-config
41
42 #################################################################
43 # Secrets metaconfig
44 #################################################################
45 secrets:
46   - uid: db-user-creds
47     name: '{{ include "common.release" . }}-so-catalog-db-adapter-db-user-creds'
48     type: basicAuth
49     externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
50     login: '{{ .Values.db.userName }}'
51     password: '{{ .Values.db.userPassword }}'
52     passwordPolicy: required
53   - uid: db-admin-creds
54     name: '{{ include "common.release" . }}-so-catalog-db-adapter-db-admin-creds'
55     type: basicAuth
56     externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
57     login: '{{ .Values.db.adminName }}'
58     password: '{{ .Values.db.adminPassword }}'
59     passwordPolicy: required
60
61 #secretsFilePaths: |
62 #  - 'my file 1'
63 #  - '{{ include "templateThatGeneratesFileName" . }}'
64
65 #################################################################
66 # Application configuration defaults.
67 #################################################################
68 repository: nexus3.onap.org:10001
69 image: onap/so/catalog-db-adapter:1.7.12
70
71 pullPolicy: Always
72
73 db:
74   userName: so_user
75   userPassword: so_User123
76   # userCredsExternalSecret: some secret
77   adminName: so_admin
78   adminPassword: so_Admin123
79   # adminCredsExternalSecret: some secret
80
81 mso:
82   adapters:
83     db:
84       auth: Basic YnBlbDpwYXNzd29yZDEk
85
86 replicaCount: 1
87 minReadySeconds: 10
88 containerPort: &containerPort 8082
89 logPath: ./logs/catdb/
90 app: catalog-db-adapter
91 service:
92     type: ClusterIP
93     internalPort: *containerPort
94     externalPort: *containerPort
95     portName: so-catdb-port
96 updateStrategy:
97     type: RollingUpdate
98     maxUnavailable: 1
99     maxSurge: 1
100
101 #################################################################
102 # soHelper part
103 #################################################################
104 soHelpers:
105   nameOverride: so-catalogdb-cert-init
106   certInitializer:
107     nameOverride: so-catalogdb-cert-init
108     credsPath: /opt/app/osaaf/local
109   cadi:
110     apiEnforcement: org.onap.so.catalogDbAdapterPerm
111   containerPort: *containerPort
112
113 # Resource Limit flavor -By Default using small
114 flavor: small
115 # Segregation for Different environment (Small and Large)
116 resources:
117   small:
118     limits:
119       memory: 4Gi
120       cpu: 2000m
121     requests:
122       memory: 1Gi
123       cpu: 500m
124   large:
125     limits:
126       memory: 8Gi
127       cpu: 4000m
128     requests:
129       memory: 2Gi
130       cpu: 1000m
131   unlimited: {}
132 livenessProbe:
133     path: /manage/health
134     port: 8082
135     scheme: HTTP
136     initialDelaySeconds: 600
137     periodSeconds: 60
138     timeoutSeconds: 10
139     successThreshold: 1
140     failureThreshold: 3
141 ingress:
142   enabled: false
143 config:
144   openStackUserName: "vnf_user"
145   openStackRegion: "RegionOne"
146   openStackKeyStoneUrl: "http://1.2.3.4:5000/v2.0"
147   openStackServiceTenantName: "service"
148   openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
149   openStackTenantId: "d570c718cbc545029f40e50b75eb13df"
150   openStackProjectDomainName: "openStackProjectDomainName"
151   openStackUserDomainName: "openStackUserDomainName"
152   # "KEYSTONE" for keystone v2, "KEYSTONE_V3" for keystone v3
153   openStackKeystoneVersion: "KEYSTONE"
154 nodeSelector: {}
155 tolerations: []
156 affinity: {}