[GENERAL] Use readiness container v3.0.1
[oom.git] / kubernetes / so / charts / so-catalog-db-adapter / values.yaml
1 # Copyright © 2018 AT&T USA
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   repository: nexus3.onap.org:10001
21   readinessImage: onap/oom/readiness:3.0.1
22   persistence:
23     mountPath: /dockerdata-nfs
24
25 #################################################################
26 # Secrets metaconfig
27 #################################################################
28 secrets:
29   - uid: db-user-creds
30     name: '{{ include "common.release" . }}-so-catalog-db-adapter-db-user-creds'
31     type: basicAuth
32     externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
33     login: '{{ .Values.db.userName }}'
34     password: '{{ .Values.db.userPassword }}'
35     passwordPolicy: required
36   - uid: db-admin-creds
37     name: '{{ include "common.release" . }}-so-catalog-db-adapter-db-admin-creds'
38     type: basicAuth
39     externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
40     login: '{{ .Values.db.adminName }}'
41     password: '{{ .Values.db.adminPassword }}'
42     passwordPolicy: required
43   - uid: "so-onap-certs"
44     externalSecret: '{{ tpl (default "" .Values.certSecret) . }}'
45     type: generic
46     filePaths: '{{ .Values.secretsFilePaths }}'
47
48 #secretsFilePaths: |
49 #  - 'my file 1'
50 #  - '{{ include "templateThatGeneratesFileName" . }}'
51
52 #################################################################
53 # Application configuration defaults.
54 #################################################################
55 repository: nexus3.onap.org:10001
56 image: onap/so/catalog-db-adapter:1.6.4
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 replicaCount: 1
68 minReadySeconds: 10
69 containerPort: 8082
70 logPath: ./logs/catdb/
71 app: catalog-db-adapter
72 service:
73     type: ClusterIP
74     internalPort: 8082
75     externalPort: 8082
76     portName: so-catdb-port
77 updateStrategy:
78     type: RollingUpdate
79     maxUnavailable: 1
80     maxSurge: 1
81 # Resource Limit flavor -By Default using small
82 flavor: small
83 # Segregation for Different environment (Small and Large)
84 resources:
85   small:
86     limits:
87       memory: 4Gi
88       cpu: 2000m
89     requests:
90       memory: 1Gi
91       cpu: 500m
92   large:
93     limits:
94       memory: 8Gi
95       cpu: 4000m
96     requests:
97       memory: 2Gi
98       cpu: 1000m
99   unlimited: {}
100 livenessProbe:
101     path: /manage/health
102     port: 8082
103     scheme: HTTP
104     initialDelaySeconds: 600
105     periodSeconds: 60
106     timeoutSeconds: 10
107     successThreshold: 1
108     failureThreshold: 3
109 ingress:
110   enabled: false
111 config:
112   openStackUserName: "vnf_user"
113   openStackRegion: "RegionOne"
114   openStackKeyStoneUrl: "http://1.2.3.4:5000/v2.0"
115   openStackServiceTenantName: "service"
116   openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
117   openStackTenantId: "d570c718cbc545029f40e50b75eb13df"
118   openStackProjectDomainName: "openStackProjectDomainName"
119   openStackUserDomainName: "openStackUserDomainName"
120   # "KEYSTONE" for keystone v2, "KEYSTONE_V3" for keystone v3
121   openStackKeystoneVersion: "KEYSTONE"
122 nodeSelector: {}
123 tolerations: []
124 affinity: {}