blob: c8a12690d0752aff3454591bed67d0cd89bac6ab [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:
24 serviceName: mariadb-galera
25 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:
105 memory: 4Gi
106 cpu: 2000m
107 requests:
108 memory: 1Gi
109 cpu: 500m
110 large:
111 limits:
112 memory: 8Gi
113 cpu: 4000m
114 requests:
115 memory: 2Gi
116 cpu: 1000m
117 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
129nodeSelector: {}
130tolerations: []
131affinity: {}
farida azmy87f46222021-04-06 15:25:15 +0200132
133#Pods Service Account
134serviceAccount:
135 nameOverride: so-oof-adapter
136 roles:
137 - read
Maciej Wereskidf9ba222021-11-05 14:38:18 +0000138
139#Log configuration
140log:
141 path: /var/log/onap
142logConfigMapNamePrefix: '{{ include "common.fullname" . }}'