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