blob: 74679d8a2ee791038770a6981af355a2c673fb69 [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 Geissler576de2d2023-10-24 15:38:01 +020024 service: mariadb-galera
krishnaa9692b606b2020-10-30 11:29:21 +053025 servicePort: '3306'
26
Priyadharshini7dc03852020-08-27 04:36:03 -070027# Secrets metaconfig
28#################################################################
29db:
30 userName: so_user
31 userPassword: so_User123
32 # userCredsExternalSecret: some secret
33 adminName: so_admin
34 adminPassword: so_Admin123
35 # adminCredsExternalSecret: some secret
36secrets:
37 - uid: db-user-creds
38 type: basicAuth
39 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
40 login: '{{ .Values.db.userName }}'
41 password: '{{ .Values.db.userPassword }}'
42 passwordPolicy: required
43 - uid: db-admin-creds
44 type: basicAuth
45 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
46 login: '{{ .Values.db.adminName }}'
47 password: '{{ .Values.db.adminPassword }}'
48 passwordPolicy: required
49 - uid: oof-adapter-mso-key
50 type: password
51 externalSecret: '{{ tpl (default "" .Values.mso.msoKeySecret) . }}'
52 password: '{{ .Values.mso.msoKey }}'
53 - uid: oof-auth
54 type: basicAuth
55 externalSecret: '{{ tpl (default "" .Values.mso.oof.authSecret) . }}'
56 login: '{{ .Values.mso.oof.login }}'
57 password: '{{ .Values.mso.oof.password }}'
58 passwordPolicy: required
59
60
61#secretsFilePaths: |
62# - 'my file 1'
63# - '{{ include "templateThatGeneratesFileName" . }}'
64
65#################################################################
66# Application configuration defaults.
67#################################################################
seshukm65ba2142021-04-01 21:59:10 +053068image: onap/so/so-oof-adapter:1.8.3
Priyadharshini7dc03852020-08-27 04:36:03 -070069pullPolicy: Always
70
71mso:
72 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
73 oof:
74 login: test
75 password: testpwd
76
77replicaCount: 1
78containerPort: &containerPort 8090
79minReadySeconds: 10
80containerPort: *containerPort
seshukm65ba2142021-04-01 21:59:10 +053081logPath: ./logs/oof-adapter/
Priyadharshini7dc03852020-08-27 04:36:03 -070082app: so-oof-adapter
83service:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +010084 type: ClusterIP
85 ports:
86 - name: http
87 port: *containerPort
Priyadharshini7dc03852020-08-27 04:36:03 -070088updateStrategy:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +010089 type: RollingUpdate
90 maxUnavailable: 1
91 maxSurge: 1
Priyadharshini7dc03852020-08-27 04:36:03 -070092
Andreas Geisslerad61ccf2023-02-23 09:17:36 +010093#################################################################
94# soHelpers part
95#################################################################
Priyadharshini7dc03852020-08-27 04:36:03 -070096soHelpers:
Priyadharshini7dc03852020-08-27 04:36:03 -070097 containerPort: *containerPort
98
99# Resource Limit flavor -By Default using small
100flavor: small
101# Segregation for Different environment (Small and Large)
102resources:
103 small:
104 limits:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200105 memory: 1Gi
vladimir turokdb8167b2023-09-20 11:09:21 +0200106 cpu: 1
Priyadharshini7dc03852020-08-27 04:36:03 -0700107 requests:
108 memory: 1Gi
Andreas Geissler555db9c2023-06-20 11:38:39 +0200109 cpu: 0.5
Priyadharshini7dc03852020-08-27 04:36:03 -0700110 large:
111 limits:
Andreas Geissler555db9c2023-06-20 11:38:39 +0200112 memory: 2Gi
vladimir turokdb8167b2023-09-20 11:09:21 +0200113 cpu: 2
Priyadharshini7dc03852020-08-27 04:36:03 -0700114 requests:
115 memory: 2Gi
Andreas Geissler555db9c2023-06-20 11:38:39 +0200116 cpu: 1
Priyadharshini7dc03852020-08-27 04:36:03 -0700117 unlimited: {}
118livenessProbe:
Andreas Geisslerad61ccf2023-02-23 09:17:36 +0100119 path: /manage/health
120 port: *containerPort
121 scheme: HTTP
122 initialDelaySeconds: 600
123 periodSeconds: 60
124 timeoutSeconds: 10
125 successThreshold: 1
126 failureThreshold: 3
Priyadharshini7dc03852020-08-27 04:36:03 -0700127ingress:
128 enabled: false
AndrewLambab2704a2023-04-05 14:45:11 +0100129serviceMesh:
130 authorizationPolicy:
131 authorizedPrincipals:
132 - serviceAccount: so-bpmn-infra-read
133 - serviceAccount: so-read
Priyadharshini7dc03852020-08-27 04:36:03 -0700134nodeSelector: {}
135tolerations: []
136affinity: {}
farida azmy87f46222021-04-06 15:25:15 +0200137
138#Pods Service Account
139serviceAccount:
140 nameOverride: so-oof-adapter
141 roles:
142 - read
Maciej Wereskidf9ba222021-11-05 14:38:18 +0000143
144#Log configuration
145log:
146 path: /var/log/onap
147logConfigMapNamePrefix: '{{ include "common.fullname" . }}'