blob: 967d13ebacdd0bff40270335475dd04b40a76ea5 [file] [log] [blame]
Priyadharshini7dc03852020-08-27 04:36:03 -07001# Copyright © 2020 Wipro Limited.
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#################################################################
16# Global configuration defaults.
17#################################################################
18global:
19 nodePortPrefix: 302
20 nodePortPrefixExt: 304
Priyadharshini7dc03852020-08-27 04:36:03 -070021 persistence:
22 mountPath: /dockerdata-nfs
krishnaa9692b606b2020-10-30 11:29:21 +053023 mariadbGalera:
Andreas Geissler2c1ba292024-01-10 22:20:05 +010024 # flag to enable the DB creation via mariadb-operator
25 useOperator: true
Andreas Geissler576de2d2023-10-24 15:38:01 +020026 service: mariadb-galera
krishnaa9692b606b2020-10-30 11:29:21 +053027 servicePort: '3306'
28
Priyadharshini7dc03852020-08-27 04:36:03 -070029# Secrets metaconfig
30#################################################################
31db:
32 userName: so_user
33 userPassword: so_User123
34 # userCredsExternalSecret: some secret
35 adminName: so_admin
36 adminPassword: so_Admin123
37 # adminCredsExternalSecret: some secret
38secrets:
39 - uid: db-user-creds
40 type: basicAuth
41 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
42 login: '{{ .Values.db.userName }}'
43 password: '{{ .Values.db.userPassword }}'
44 passwordPolicy: required
45 - uid: db-admin-creds
46 type: basicAuth
47 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
48 login: '{{ .Values.db.adminName }}'
49 password: '{{ .Values.db.adminPassword }}'
50 passwordPolicy: required
51 - uid: oof-adapter-mso-key
52 type: password
53 externalSecret: '{{ tpl (default "" .Values.mso.msoKeySecret) . }}'
54 password: '{{ .Values.mso.msoKey }}'
55 - uid: oof-auth
56 type: basicAuth
57 externalSecret: '{{ tpl (default "" .Values.mso.oof.authSecret) . }}'
58 login: '{{ .Values.mso.oof.login }}'
59 password: '{{ .Values.mso.oof.password }}'
60 passwordPolicy: required
61
62
63#secretsFilePaths: |
64# - 'my file 1'
65# - '{{ include "templateThatGeneratesFileName" . }}'
66
67#################################################################
68# Application configuration defaults.
69#################################################################
seshukm65ba2142021-04-01 21:59:10 +053070image: onap/so/so-oof-adapter:1.8.3
Priyadharshini7dc03852020-08-27 04:36:03 -070071pullPolicy: Always
72
Andreas Geissler2c1ba292024-01-10 22:20:05 +010073# Local mariadb galera instance default name
74mariadb-galera:
75 nameOverride: so-mariadb-galera
76 service:
77 internalPort: 3306
78 mariadbOperator:
79 galera:
80 enabled: false
81
Priyadharshini7dc03852020-08-27 04:36:03 -070082mso:
83 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
84 oof:
85 login: test
86 password: testpwd
87
88replicaCount: 1
89containerPort: &containerPort 8090
90minReadySeconds: 10
91containerPort: *containerPort
seshukm65ba2142021-04-01 21:59:10 +053092logPath: ./logs/oof-adapter/
Priyadharshini7dc03852020-08-27 04:36:03 -070093app: so-oof-adapter
94service:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +010095 type: ClusterIP
96 ports:
97 - name: http
98 port: *containerPort
Priyadharshini7dc03852020-08-27 04:36:03 -070099updateStrategy:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100100 type: RollingUpdate
101 maxUnavailable: 1
102 maxSurge: 1
Priyadharshini7dc03852020-08-27 04:36:03 -0700103
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100104#################################################################
105# soHelpers part
106#################################################################
Priyadharshini7dc03852020-08-27 04:36:03 -0700107soHelpers:
Priyadharshini7dc03852020-08-27 04:36:03 -0700108 containerPort: *containerPort
109
110# Resource Limit flavor -By Default using small
111flavor: small
112# Segregation for Different environment (Small and Large)
113resources:
114 small:
115 limits:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200116 memory: 1Gi
vladimir turokdb8167b2023-09-20 11:09:21 +0200117 cpu: 1
Priyadharshini7dc03852020-08-27 04:36:03 -0700118 requests:
119 memory: 1Gi
Andreas Geissler555db9c2023-06-20 11:38:39 +0200120 cpu: 0.5
Priyadharshini7dc03852020-08-27 04:36:03 -0700121 large:
122 limits:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200123 memory: 2Gi
vladimir turokdb8167b2023-09-20 11:09:21 +0200124 cpu: 2
Priyadharshini7dc03852020-08-27 04:36:03 -0700125 requests:
126 memory: 2Gi
Andreas Geissler555db9c2023-06-20 11:38:39 +0200127 cpu: 1
Priyadharshini7dc03852020-08-27 04:36:03 -0700128 unlimited: {}
129livenessProbe:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100130 path: /manage/health
131 port: *containerPort
132 scheme: HTTP
133 initialDelaySeconds: 600
134 periodSeconds: 60
135 timeoutSeconds: 10
136 successThreshold: 1
137 failureThreshold: 3
Priyadharshini7dc03852020-08-27 04:36:03 -0700138ingress:
139 enabled: false
AndrewLambab2704a2023-04-05 14:45:11 +0100140serviceMesh:
141 authorizationPolicy:
142 authorizedPrincipals:
143 - serviceAccount: so-bpmn-infra-read
144 - serviceAccount: so-read
Priyadharshini7dc03852020-08-27 04:36:03 -0700145nodeSelector: {}
146tolerations: []
147affinity: {}
farida azmy87f46222021-04-06 15:25:15 +0200148
149#Pods Service Account
150serviceAccount:
151 nameOverride: so-oof-adapter
152 roles:
153 - read
Maciej Wereskidf9ba222021-11-05 14:38:18 +0000154
155#Log configuration
156log:
157 path: /var/log/onap
158logConfigMapNamePrefix: '{{ include "common.fullname" . }}'