blob: 28338cfa118fcdaaf102fedc616a1c3b0c395055 [file] [log] [blame]
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +00001# Copyright © 2018 AT&T USA
seshukm0df1f8e2020-08-17 21:45:49 +05302# Copyright © 2020 Huawei
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +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
jmacc4f04d32018-10-12 18:24:24 +000020 persistence:
21 mountPath: /dockerdata-nfs
seshukm0df1f8e2020-08-17 21:45:49 +053022 security:
23 aaf:
24 enabled: false
25 aaf:
26 auth:
27 encrypted: 3EDC974C5CD7FE54C47C7490AF4D3B474CDD7D0FFA35A7ACDE3E209631E45F428976EAC0858874F17390A13149E63C90281DD8D20456
krishnaa9692b606b2020-10-30 11:29:21 +053028 mariadbGalera:
29 serviceName: mariadb-galera
30 servicePort: '3306'
jmacc4f04d32018-10-12 18:24:24 +000031
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010032readinessCheck:
33 wait_for:
Prabhjot Singh Sethi46e17562021-08-20 22:40:23 +053034 jobs:
35 - '{{ include "common.release" . }}-so-mariadb-config-job'
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010036
jmacc4f04d32018-10-12 18:24:24 +000037#################################################################
Krzysztof Opasiak2cf35502020-03-24 23:01:38 +010038# Secrets metaconfig
39#################################################################
40secrets:
41 - uid: db-user-creds
42 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010043 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak2cf35502020-03-24 23:01:38 +010044 login: '{{ .Values.db.userName }}'
45 password: '{{ .Values.db.userPassword }}'
46 passwordPolicy: required
47 - uid: db-admin-creds
48 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010049 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak2cf35502020-03-24 23:01:38 +010050 login: '{{ .Values.db.adminName }}'
51 password: '{{ .Values.db.adminPassword }}'
52 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010053
54#secretsFilePaths: |
55# - 'my file 1'
56# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak2cf35502020-03-24 23:01:38 +010057
58#################################################################
jmacc4f04d32018-10-12 18:24:24 +000059# Application configuration defaults.
60#################################################################
Seshu-Kumar-Mb10781b2022-03-24 08:12:36 +053061image: onap/so/openstack-adapter:1.10.0
jmacc4f04d32018-10-12 18:24:24 +000062pullPolicy: Always
jmacc4f04d32018-10-12 18:24:24 +000063
Krzysztof Opasiak2cf35502020-03-24 23:01:38 +010064db:
65 userName: so_user
66 userPassword: so_User123
67 # userCredsExternalSecret: some secret
68 adminName: so_admin
69 adminPassword: so_Admin123
70 # adminCredsExternalSecret: some secret
71
seshukm0df1f8e2020-08-17 21:45:49 +053072aai:
73 auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
74aaf:
75 auth:
76 encrypted: 7F182B0C05D58A23A1C4966B9CDC9E0B8BC5CD53BC8C7B4083D869F8D53E9BDC3EFD55C94B1D3F
77org:
78 onap:
79 so:
80 adapters:
81 bpelauth: D1A67FA93B6A6419132D0F83CC771AF774FD3C60853C50C22C8C6FC5088CC79E9E81EDE9EA39F22B2F66A0068E
82mso:
83 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
84 basicUser: poBpmn
85 auth: BEA8637716A7EB617DF472BA6552D22F68C1CB17B0D094D77DDA562F4ADAAC4457CAB848E1A4
86 db:
87 auth: Basic YnBlbDpwYXNzd29yZDEk
88
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000089replicaCount: 1
90minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +053091containerPort: &containerPort 8087
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000092logPath: ./logs/openstack/
93app: openstack-adapter
94service:
95 type: ClusterIP
seshukm0df1f8e2020-08-17 21:45:49 +053096 internalPort: *containerPort
97 externalPort: *containerPort
Andreas Geissler17be9622022-04-29 13:33:02 +020098 portName: http
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000099updateStrategy:
100 type: RollingUpdate
101 maxUnavailable: 1
102 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +0530103
104#################################################################
105# soHelper part
106#################################################################
107soHelpers:
108 nameOverride: so-openstack-cert-init
109 certInitializer:
110 nameOverride: so-openstack-cert-init
111 credsPath: /opt/app/osaaf/local
112 cadi:
113 apiEnforcement: org.onap.so.openStackAdapterPerm
114 containerPort: *containerPort
115
vaibhav16dec0da88292018-08-13 06:10:27 +0000116# Resource Limit flavor -By Default using small
117flavor: small
118# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000119resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000120 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000121 limits:
122 memory: 4Gi
123 cpu: 2000m
vaibhav16dec0da88292018-08-13 06:10:27 +0000124 requests:
125 memory: 1Gi
126 cpu: 500m
127 large:
128 limits:
129 memory: 8Gi
130 cpu: 4000m
131 requests:
132 memory: 2Gi
133 cpu: 1000m
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000134 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000135livenessProbe:
136 path: /manage/health
137 port: 8087
138 scheme: HTTP
139 initialDelaySeconds: 600
140 periodSeconds: 60
141 timeoutSeconds: 10
142 successThreshold: 1
143 failureThreshold: 3
144ingress:
145 enabled: false
Ramesh Parthasarathyc98749e2018-10-11 21:06:37 +0000146config:
147 openStackUserName: "vnf_user"
148 openStackRegion: "RegionOne"
149 openStackKeyStoneUrl: "http://1.2.3.4:5000/v2.0"
150 openStackServiceTenantName: "service"
151 openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
152 openStackTenantId: "d570c718cbc545029f40e50b75eb13df"
Marcin Wilkad9b3762021-10-13 18:20:43 +0200153 # "KEYSTONE" for keystone v2, "KEYSTONE_V3" for keystone v3
154 openStackKeystoneVersion: "KEYSTONE"
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000155nodeSelector: {}
156tolerations: []
157affinity: {}
farida azmy87f46222021-04-06 15:25:15 +0200158
159#Pods Service Account
160serviceAccount:
161 nameOverride: so-openstack-adapter
162 roles:
163 - read
Maciej Wereskidf9ba222021-11-05 14:38:18 +0000164
165#Logs configuration
166log:
167 path: /var/log/onap
168logConfigMapNamePrefix: '{{ include "common.fullname" . }}'