blob: a33c68ae00e144897804400ce158578ecc494aa1 [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 Geissler576de2d2023-10-24 15:38:01 +020023 service: mariadb-galera
krishnaa9692b606b2020-10-30 11:29:21 +053024 servicePort: '3306'
jmacc4f04d32018-10-12 18:24:24 +000025
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010026readinessCheck:
27 wait_for:
Prabhjot Singh Sethi46e17562021-08-20 22:40:23 +053028 jobs:
29 - '{{ include "common.release" . }}-so-mariadb-config-job'
Sylvain Desbureauxd055a172020-10-30 14:32:03 +010030
jmacc4f04d32018-10-12 18:24:24 +000031#################################################################
Krzysztof Opasiak2cf35502020-03-24 23:01:38 +010032# Secrets metaconfig
33#################################################################
34secrets:
35 - uid: db-user-creds
36 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010037 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
Krzysztof Opasiak2cf35502020-03-24 23:01:38 +010038 login: '{{ .Values.db.userName }}'
39 password: '{{ .Values.db.userPassword }}'
40 passwordPolicy: required
41 - uid: db-admin-creds
42 type: basicAuth
Krzysztof Opasiakc53ff542020-03-28 02:14:37 +010043 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
Krzysztof Opasiak2cf35502020-03-24 23:01:38 +010044 login: '{{ .Values.db.adminName }}'
45 password: '{{ .Values.db.adminPassword }}'
46 passwordPolicy: required
Sylvain Desbureauxaadf5452020-03-18 18:13:51 +010047
48#secretsFilePaths: |
49# - 'my file 1'
50# - '{{ include "templateThatGeneratesFileName" . }}'
Krzysztof Opasiak2cf35502020-03-24 23:01:38 +010051
52#################################################################
jmacc4f04d32018-10-12 18:24:24 +000053# Application configuration defaults.
54#################################################################
Lukasz Rajewski743dca92023-06-12 07:28:58 +000055image: onap/so/openstack-adapter:1.12.2
jmacc4f04d32018-10-12 18:24:24 +000056pullPolicy: Always
jmacc4f04d32018-10-12 18:24:24 +000057
Krzysztof Opasiak2cf35502020-03-24 23:01:38 +010058db:
59 userName: so_user
60 userPassword: so_User123
61 # userCredsExternalSecret: some secret
62 adminName: so_admin
63 adminPassword: so_Admin123
64 # adminCredsExternalSecret: some secret
65
seshukm0df1f8e2020-08-17 21:45:49 +053066aai:
67 auth: 2A11B07DB6214A839394AA1EC5844695F5114FC407FF5422625FB00175A3DCB8A1FF745F22867EFA72D5369D599BBD88DA8BED4233CF5586
seshukm0df1f8e2020-08-17 21:45:49 +053068org:
69 onap:
70 so:
71 adapters:
72 bpelauth: D1A67FA93B6A6419132D0F83CC771AF774FD3C60853C50C22C8C6FC5088CC79E9E81EDE9EA39F22B2F66A0068E
73mso:
74 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
75 basicUser: poBpmn
76 auth: BEA8637716A7EB617DF472BA6552D22F68C1CB17B0D094D77DDA562F4ADAAC4457CAB848E1A4
77 db:
78 auth: Basic YnBlbDpwYXNzd29yZDEk
79
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000080replicaCount: 1
81minReadySeconds: 10
seshukm0df1f8e2020-08-17 21:45:49 +053082containerPort: &containerPort 8087
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000083logPath: ./logs/openstack/
84app: openstack-adapter
85service:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +010086 type: ClusterIP
87 ports:
88 - name: http
89 port: *containerPort
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +000090updateStrategy:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +010091 type: RollingUpdate
92 maxUnavailable: 1
93 maxSurge: 1
seshukm0df1f8e2020-08-17 21:45:49 +053094
95#################################################################
Andreas Geisslerad61ccf2023-02-23 09:17:36 +010096# soHelpers part
seshukm0df1f8e2020-08-17 21:45:49 +053097#################################################################
98soHelpers:
seshukm0df1f8e2020-08-17 21:45:49 +053099 containerPort: *containerPort
100
vaibhav16dec0da88292018-08-13 06:10:27 +0000101# Resource Limit flavor -By Default using small
102flavor: small
103# Segregation for Different environment (Small and Large)
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000104resources:
vaibhav16dec0da88292018-08-13 06:10:27 +0000105 small:
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000106 limits:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200107 memory: 1.5Gi
vladimir turokdb8167b2023-09-20 11:09:21 +0200108 cpu: 1
vaibhav16dec0da88292018-08-13 06:10:27 +0000109 requests:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200110 memory: 1.5Gi
111 cpu: 0.5
vaibhav16dec0da88292018-08-13 06:10:27 +0000112 large:
113 limits:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200114 memory: 3Gi
vladimir turokdb8167b2023-09-20 11:09:21 +0200115 cpu: 2
vaibhav16dec0da88292018-08-13 06:10:27 +0000116 requests:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200117 memory: 3Gi
118 cpu: 1
Mandeep Khinda60d36d42018-09-24 15:15:48 +0000119 unlimited: {}
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000120livenessProbe:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100121 path: /manage/health
122 port: 8087
123 scheme: HTTP
124 initialDelaySeconds: 600
125 periodSeconds: 60
126 timeoutSeconds: 10
127 successThreshold: 1
128 failureThreshold: 3
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000129ingress:
130 enabled: false
AndrewLambab2704a2023-04-05 14:45:11 +0100131serviceMesh:
132 authorizationPolicy:
133 authorizedPrincipals:
134 - serviceAccount: robot-read
135 - serviceAccount: so-bpmn-infra-read
136 - serviceAccount: so-read
Ramesh Parthasarathyc98749e2018-10-11 21:06:37 +0000137config:
138 openStackUserName: "vnf_user"
139 openStackRegion: "RegionOne"
140 openStackKeyStoneUrl: "http://1.2.3.4:5000/v2.0"
141 openStackServiceTenantName: "service"
142 openStackEncryptedPasswordHere: "c124921a3a0efbe579782cde8227681e"
143 openStackTenantId: "d570c718cbc545029f40e50b75eb13df"
Marcin Wilkad9b3762021-10-13 18:20:43 +0200144 # "KEYSTONE" for keystone v2, "KEYSTONE_V3" for keystone v3
145 openStackKeystoneVersion: "KEYSTONE"
Ramesh Parthasarathy3cd3fb12018-09-05 01:47:29 +0000146nodeSelector: {}
147tolerations: []
148affinity: {}
farida azmy87f46222021-04-06 15:25:15 +0200149
150#Pods Service Account
151serviceAccount:
152 nameOverride: so-openstack-adapter
153 roles:
154 - read
Maciej Wereskidf9ba222021-11-05 14:38:18 +0000155
156#Logs configuration
157log:
158 path: /var/log/onap
159logConfigMapNamePrefix: '{{ include "common.fullname" . }}'