blob: 3e98595cbea680c89a99deb9fe299c177be4a486 [file] [log] [blame]
Mandeep Khinda60d36d42018-09-24 15:15:48 +00001# Copyright © 2018 AT&T USA
seshukm0df1f8e2020-08-17 21:45:49 +05302# Copyright © 2020 Huawei
Mandeep Khinda60d36d42018-09-24 15:15:48 +00003# 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.
jmacc4f04d32018-10-12 18:24:24 +000014#################################################################
15# Global configuration defaults.
16#################################################################
17global:
18 nodePortPrefix: 302
19 nodePortPrefixExt: 304
20 repository: nexus3.onap.org:10001
Sylvain Desbureaux1694e1d2020-08-21 09:58:25 +020021 readinessImage: onap/oom/readiness:3.0.1
seshukm0df1f8e2020-08-17 21:45:49 +053022 aafAgentImage: onap/aaf/aaf_agent:2.1.20
23 envsubstImage: dibi/envsubst
jmacc4f04d32018-10-12 18:24:24 +000024 persistence:
25 mountPath: /dockerdata-nfs
seshukm0df1f8e2020-08-17 21:45:49 +053026 security:
27 aaf:
28 enabled: false
29 aaf:
30 auth:
31 header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
32 app:
33 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
krishnaa9692b606b2020-10-30 11:29:21 +053034 mariadbGalera:
35 serviceName: mariadb-galera
36 servicePort: '3306'
jmacc4f04d32018-10-12 18:24:24 +000037
38#################################################################
Krzysztof Opasiak72018df2020-03-02 22:18:41 +010039# Secrets metaconfig
40#################################################################
41secrets:
42 - uid: db-user-creds
43 name: '{{ include "common.release" . }}-so-catalog-db-adapter-db-user-creds'
44 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010045 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak72018df2020-03-02 22:18:41 +010046 login: '{{ .Values.db.userName }}'
47 password: '{{ .Values.db.userPassword }}'
48 passwordPolicy: required
49 - uid: db-admin-creds
50 name: '{{ include "common.release" . }}-so-catalog-db-adapter-db-admin-creds'
51 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010052 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak72018df2020-03-02 22:18:41 +010053 login: '{{ .Values.db.adminName }}'
54 password: '{{ .Values.db.adminPassword }}'
55 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010056
57#secretsFilePaths: |
58# - 'my file 1'
59# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak72018df2020-03-02 22:18:41 +010060
61#################################################################
jmacc4f04d32018-10-12 18:24:24 +000062# Application configuration defaults.
63#################################################################
Mandeep Khinda60d36d42018-09-24 15:15:48 +000064repository: nexus3.onap.org:10001
seshukm40ec9fa2020-07-08 14:26:34 +053065image: onap/so/catalog-db-adapter:1.6.4
jmacc4f04d32018-10-12 18:24:24 +000066pullPolicy: Always
67
Krzysztof Opasiak72018df2020-03-02 22:18:41 +010068db:
69 userName: so_user
70 userPassword: so_User123
71 # userCredsExternalSecret: some secret
72 adminName: so_admin
73 adminPassword: so_Admin123
74 # adminCredsExternalSecret: some secret
75
seshukm0df1f8e2020-08-17 21:45:49 +053076mso:
77 adapters:
78 db:
79 auth: Basic YnBlbDpwYXNzd29yZDEk
80
Mandeep Khinda60d36d42018-09-24 15:15:48 +000081replicaCount: 1
82minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +053083containerPort: &containerPort 8082
Mandeep Khinda60d36d42018-09-24 15:15:48 +000084logPath: ./logs/catdb/
85app: catalog-db-adapter
86service:
87 type: ClusterIP
seshukm0df1f8e2020-08-17 21:45:49 +053088 internalPort: *containerPort
89 externalPort: *containerPort
Mandeep Khinda60d36d42018-09-24 15:15:48 +000090 portName: so-catdb-port
91updateStrategy:
92 type: RollingUpdate
93 maxUnavailable: 1
94 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +053095
96#################################################################
97# soHelper part
98#################################################################
99soHelpers:
100 nameOverride: so-catalogdb-cert-init
101 certInitializer:
102 nameOverride: so-catalogdb-cert-init
103 credsPath: /opt/app/osaaf/local
104 cadi:
105 apiEnforcement: org.onap.so.catalogDbAdapterPerm
106 containerPort: *containerPort
107
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000108# Resource Limit flavor -By Default using small
109flavor: small
110# Segregation for Different environment (Small and Large)
111resources:
112 small:
113 limits:
114 memory: 4Gi
115 cpu: 2000m
116 requests:
117 memory: 1Gi
118 cpu: 500m
119 large:
120 limits:
121 memory: 8Gi
122 cpu: 4000m
123 requests:
124 memory: 2Gi
125 cpu: 1000m
126 unlimited: {}
127livenessProbe:
128 path: /manage/health
129 port: 8082
130 scheme: HTTP
131 initialDelaySeconds: 600
132 periodSeconds: 60
133 timeoutSeconds: 10
134 successThreshold: 1
135 failureThreshold: 3
136ingress:
137 enabled: false
Ramesh Parthasarathybef9c7b2019-03-01 21:21:20 +0000138config:
139 openStackUserName: "vnf_user"
140 openStackRegion: "RegionOne"
141 openStackKeyStoneUrl: "http://1.2.3.4:5000/v2.0"
142 openStackServiceTenantName: "service"
143 openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
144 openStackTenantId: "d570c718cbc545029f40e50b75eb13df"
AndrewLamb43687c02019-10-25 10:29:49 +0100145 openStackProjectDomainName: "openStackProjectDomainName"
146 openStackUserDomainName: "openStackUserDomainName"
Sylvain Desbureaux04f765e2020-02-13 11:08:06 +0100147 # "KEYSTONE" for keystone v2, "KEYSTONE_V3" for keystone v3
148 openStackKeystoneVersion: "KEYSTONE"
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000149nodeSelector: {}
150tolerations: []
151affinity: {}