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