blob: 2b6fff63c8be5d96fbb5e12242a1567d3c0144b8 [file] [log] [blame]
sekharhuawei2e799e92020-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 persistence:
22 mountPath: /dockerdata-nfs
23 security:
24 aaf:
25 enabled: false
26 aaf:
27 auth:
28 header: ${AAF_AUTH}
seshukm5c924192021-09-17 10:59:15 +053029 aai:
30 enabled: true
sekharhuawei2e799e92020-11-14 17:06:56 +053031#################################################################
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#################################################################
Lukasz Rajewski1c847752021-10-24 22:58:41 +020079image: onap/so/so-cnf-adapter:1.9.2
sekharhuawei2e799e92020-11-14 17:06:56 +053080pullPolicy: Always
Sylvain Desbureauxa2e32752020-12-08 18:03:50 +010081
82readinessCheck:
83 wait_for:
84 jobs:
85 - '{{ include "common.release" . }}-so-mariadb-config-job'
86
sekharhuawei2e799e92020-11-14 17:06:56 +053087db:
88 userName: so_user
89 userPassword: so_User123
90 # userCredsExternalSecret: some secret
91 adminName: so_admin
92 adminPassword: so_Admin123
93 # adminCredsExternalSecret: some secret
94server:
95 aaf:
96 username: so@so.onap.org
97 password: demo123456
98 # aafCredsExternalSecret: some secret
99 aai:
100 username: aai@aai.onap.org
101 password: demo123456!
102 auth: ${AAI_AUTH}
103 # aaiCredsExternalSecret: some secret
104 actuator:
105 username: mso_admin
106 password: password1$
107 # actuatorCredsExternalSecret: some secret
108mso:
109 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
110 # msoKeySecret: some secret
111 adapters:
112 requestDb:
113 auth: ${REQUEST_AUTH}
114replicaCount: 1
115minReadySeconds: 10
116containerPort: &containerPort 8090
seshukm65ba2142021-04-01 21:59:10 +0530117logPath: ./logs/cnf-adapter/
sekharhuawei2e799e92020-11-14 17:06:56 +0530118app: cnf-adapter
119service:
120 type: ClusterIP
121 ports:
122 - name: http-api
123 port: *containerPort
124updateStrategy:
125 type: RollingUpdate
126 maxUnavailable: 1
127 maxSurge: 1
128soHelpers:
129 nameOverride: so-cnf-cert-init
130 certInitializer:
131 nameOverride: so-cnf-cert-init
132 credsPath: /opt/app/osaaf/local
133 cadi:
134 apiEnforcement: org.onap.so.openStackAdapterPerm
135 containerPort: *containerPort
136# Resource Limit flavor -By Default using small
137flavor: small
138# Segregation for Different environment (Small and Large)
139resources:
140 small:
141 limits:
142 memory: 4Gi
143 cpu: 2000m
144 requests:
145 memory: 1Gi
146 cpu: 500m
147 large:
148 limits:
149 memory: 8Gi
150 cpu: 4000m
151 requests:
152 memory: 2Gi
153 cpu: 1000m
154 unlimited: {}
155livenessProbe:
156 path: /manage/health
157 port: 8090
158 scheme: HTTP
159 initialDelaySeconds: 600
160 periodSeconds: 60
161 timeoutSeconds: 10
162 successThreshold: 1
163 failureThreshold: 3
164ingress:
165 enabled: false
166nodeSelector: {}
167tolerations: []
168affinity: {}
169
farida azmy87f46222021-04-06 15:25:15 +0200170#Pods Service Account
171serviceAccount:
172 nameOverride: so-cnf-adapter
173 roles:
174 - read