blob: 15074b5712eb082dbf49f0a926275dfc738a751a [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
krishnaa9692b606b2020-10-30 11:29:21 +053022 mariadbGalera:
Andreas Geissler2c1ba292024-01-10 22:20:05 +010023 # flag to enable the DB creation via mariadb-operator
24 useOperator: true
Andreas Geissler576de2d2023-10-24 15:38:01 +020025 service: mariadb-galera
krishnaa9692b606b2020-10-30 11:29:21 +053026 servicePort: '3306'
jmacc4f04d32018-10-12 18:24:24 +000027
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010028readinessCheck:
29 wait_for:
Prabhjot Singh Sethi46e17562021-08-20 22:40:23 +053030 jobs:
31 - '{{ include "common.release" . }}-so-mariadb-config-job'
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010032
jmacc4f04d32018-10-12 18:24:24 +000033#################################################################
Krzysztof Opasiak2cf35502020-03-24 23:01:38 +010034# Secrets metaconfig
35#################################################################
36secrets:
37 - uid: db-user-creds
38 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010039 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak2cf35502020-03-24 23:01:38 +010040 login: '{{ .Values.db.userName }}'
41 password: '{{ .Values.db.userPassword }}'
42 passwordPolicy: required
43 - uid: db-admin-creds
44 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010045 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak2cf35502020-03-24 23:01:38 +010046 login: '{{ .Values.db.adminName }}'
47 password: '{{ .Values.db.adminPassword }}'
48 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010049
50#secretsFilePaths: |
51# - 'my file 1'
52# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak2cf35502020-03-24 23:01:38 +010053
54#################################################################
jmacc4f04d32018-10-12 18:24:24 +000055# Application configuration defaults.
56#################################################################
Lukasz Rajewski743dca92023-06-12 07:28:58 +000057image: onap/so/openstack-adapter:1.12.2
jmacc4f04d32018-10-12 18:24:24 +000058pullPolicy: Always
jmacc4f04d32018-10-12 18:24:24 +000059
Andreas Geissler2c1ba292024-01-10 22:20:05 +010060# Local mariadb galera instance default name
61mariadb-galera:
62 nameOverride: so-mariadb-galera
63 service:
64 internalPort: 3306
65 mariadbOperator:
66 galera:
67 enabled: false
68
Krzysztof Opasiak2cf35502020-03-24 23:01:38 +010069db:
70 userName: so_user
71 userPassword: so_User123
72 # userCredsExternalSecret: some secret
73 adminName: so_admin
74 adminPassword: so_Admin123
75 # adminCredsExternalSecret: some secret
76
seshukm0df1f8e2020-08-17 21:45:49 +053077aai:
78 auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
seshukm0df1f8e2020-08-17 21:45:49 +053079org:
80 onap:
81 so:
82 adapters:
83 bpelauth: D1A67FA93B6A6419132D0F83CC771AF774FD3C60853C50C22C8C6FC5088CC79E9E81EDE9EA39F22B2F66A0068E
84mso:
85 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
86 basicUser: poBpmn
87 auth: BEA8637716A7EB617DF472BA6552D22F68C1CB17B0D094D77DDA562F4ADAAC4457CAB848E1A4
88 db:
89 auth: Basic YnBlbDpwYXNzd29yZDEk
90
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000091replicaCount: 1
92minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +053093containerPort: &containerPort 8087
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000094logPath: ./logs/openstack/
95app: openstack-adapter
96service:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +010097 type: ClusterIP
98 ports:
99 - name: http
100 port: *containerPort
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000101updateStrategy:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100102 type: RollingUpdate
103 maxUnavailable: 1
104 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +0530105
106#################################################################
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100107# soHelpers part
seshukm0df1f8e2020-08-17 21:45:49 +0530108#################################################################
109soHelpers:
seshukm0df1f8e2020-08-17 21:45:49 +0530110 containerPort: *containerPort
111
vaibhav16dec0da88292018-08-13 06:10:27 +0000112# Resource Limit flavor -By Default using small
113flavor: small
114# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000115resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000116 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000117 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100118 cpu: "1"
119 memory: "1.5Gi"
vaibhav16dec0da88292018-08-13 06:10:27 +0000120 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100121 cpu: "0.5"
122 memory: "1.5Gi"
vaibhav16dec0da88292018-08-13 06:10:27 +0000123 large:
124 limits:
Andreas Geissler47537432024-02-27 08:55:23 +0100125 cpu: "2"
126 memory: "3Gi"
vaibhav16dec0da88292018-08-13 06:10:27 +0000127 requests:
Andreas Geissler47537432024-02-27 08:55:23 +0100128 cpu: "1"
129 memory: "3Gi"
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000130 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000131livenessProbe:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100132 path: /manage/health
133 port: 8087
134 scheme: HTTP
135 initialDelaySeconds: 600
136 periodSeconds: 60
137 timeoutSeconds: 10
138 successThreshold: 1
139 failureThreshold: 3
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000140ingress:
141 enabled: false
AndrewLambab2704a2023-04-05 14:45:11 +0100142serviceMesh:
143 authorizationPolicy:
144 authorizedPrincipals:
145 - serviceAccount: robot-read
146 - serviceAccount: so-bpmn-infra-read
147 - serviceAccount: so-read
Ramesh Parthasarathyc98749e2018-10-11 21:06:37 +0000148config:
149 openStackUserName: "vnf_user"
150 openStackRegion: "RegionOne"
151 openStackKeyStoneUrl: "http://1.2.3.4:5000/v2.0"
152 openStackServiceTenantName: "service"
153 openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
154 openStackTenantId: "d570c718cbc545029f40e50b75eb13df"
Marcin Wilkad9b3762021-10-13 18:20:43 +0200155 # "KEYSTONE" for keystone v2, "KEYSTONE_V3" for keystone v3
156 openStackKeystoneVersion: "KEYSTONE"
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000157nodeSelector: {}
158tolerations: []
159affinity: {}
farida azmy87f46222021-04-06 15:25:15 +0200160
161#Pods Service Account
162serviceAccount:
163 nameOverride: so-openstack-adapter
164 roles:
165 - read
Maciej Wereskidf9ba222021-11-05 14:38:18 +0000166
167#Logs configuration
168log:
169 path: /var/log/onap
170logConfigMapNamePrefix: '{{ include "common.fullname" . }}'