blob: 7cfa75a15212a3681ab0873b25c0f075060c92b3 [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#################################################################
79image: onap/so/mso-cnf-adapter:1.7.1
80pullPolicy: Always
81db:
82 userName: so_user
83 userPassword: so_User123
84 # userCredsExternalSecret: some secret
85 adminName: so_admin
86 adminPassword: so_Admin123
87 # adminCredsExternalSecret: some secret
88server:
89 aaf:
90 username: so@so.onap.org
91 password: demo123456
92 # aafCredsExternalSecret: some secret
93 aai:
94 username: aai@aai.onap.org
95 password: demo123456!
96 auth: ${AAI_AUTH}
97 # aaiCredsExternalSecret: some secret
98 actuator:
99 username: mso_admin
100 password: password1$
101 # actuatorCredsExternalSecret: some secret
102mso:
103 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
104 # msoKeySecret: some secret
105 adapters:
106 requestDb:
107 auth: ${REQUEST_AUTH}
108replicaCount: 1
109minReadySeconds: 10
110containerPort: &containerPort 8090
111logPath: ./logs/cnf/
112app: cnf-adapter
113service:
114 type: ClusterIP
115 ports:
116 - name: http-api
117 port: *containerPort
118updateStrategy:
119 type: RollingUpdate
120 maxUnavailable: 1
121 maxSurge: 1
122soHelpers:
123 nameOverride: so-cnf-cert-init
124 certInitializer:
125 nameOverride: so-cnf-cert-init
126 credsPath: /opt/app/osaaf/local
127 cadi:
128 apiEnforcement: org.onap.so.openStackAdapterPerm
129 containerPort: *containerPort
130# Resource Limit flavor -By Default using small
131flavor: small
132# Segregation for Different environment (Small and Large)
133resources:
134 small:
135 limits:
136 memory: 4Gi
137 cpu: 2000m
138 requests:
139 memory: 1Gi
140 cpu: 500m
141 large:
142 limits:
143 memory: 8Gi
144 cpu: 4000m
145 requests:
146 memory: 2Gi
147 cpu: 1000m
148 unlimited: {}
149livenessProbe:
150 path: /manage/health
151 port: 8090
152 scheme: HTTP
153 initialDelaySeconds: 600
154 periodSeconds: 60
155 timeoutSeconds: 10
156 successThreshold: 1
157 failureThreshold: 3
158ingress:
159 enabled: false
160nodeSelector: {}
161tolerations: []
162affinity: {}
163