blob: ae42f0eb0cfb7b5aed4b85a1eaf7aef5254d1839 [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
23 security:
24 aaf:
25 enabled: false
26 aaf:
27 auth:
28 header: Basic c29Ac28ub25hcC5vcmc6ZGVtbzEyMzQ1Ngo=
krishnaa9692b606b2020-10-30 11:29:21 +053029 mariadbGalera:
30 serviceName: mariadb-galera
31 servicePort: '3306'
32
Priyadharshini7dc03852020-08-27 04:36:03 -070033# Secrets metaconfig
34#################################################################
35db:
36 userName: so_user
37 userPassword: so_User123
38 # userCredsExternalSecret: some secret
39 adminName: so_admin
40 adminPassword: so_Admin123
41 # adminCredsExternalSecret: some secret
42secrets:
43 - uid: db-user-creds
44 type: basicAuth
45 externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
46 login: '{{ .Values.db.userName }}'
47 password: '{{ .Values.db.userPassword }}'
48 passwordPolicy: required
49 - uid: db-admin-creds
50 type: basicAuth
51 externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
52 login: '{{ .Values.db.adminName }}'
53 password: '{{ .Values.db.adminPassword }}'
54 passwordPolicy: required
55 - uid: oof-adapter-mso-key
56 type: password
57 externalSecret: '{{ tpl (default "" .Values.mso.msoKeySecret) . }}'
58 password: '{{ .Values.mso.msoKey }}'
59 - uid: oof-auth
60 type: basicAuth
61 externalSecret: '{{ tpl (default "" .Values.mso.oof.authSecret) . }}'
62 login: '{{ .Values.mso.oof.login }}'
63 password: '{{ .Values.mso.oof.password }}'
64 passwordPolicy: required
65
66
67#secretsFilePaths: |
68# - 'my file 1'
69# - '{{ include "templateThatGeneratesFileName" . }}'
70
71#################################################################
72# Application configuration defaults.
73#################################################################
deen1985b958d7d2020-12-28 11:56:52 +010074image: onap/so/so-oof-adapter:1.7.11
Priyadharshini7dc03852020-08-27 04:36:03 -070075pullPolicy: Always
76
77mso:
78 msoKey: 07a7159d3bf51a0e53be7a8f89699be7
79 oof:
80 login: test
81 password: testpwd
82
83replicaCount: 1
84containerPort: &containerPort 8090
85minReadySeconds: 10
86containerPort: *containerPort
87logPath: ./logs/oof/
88app: so-oof-adapter
89service:
90 type: ClusterIP
91 ports:
92 - name: api
93 port: *containerPort
94updateStrategy:
95 type: RollingUpdate
96 maxUnavailable: 1
97 maxSurge: 1
98
99
100soHelpers:
101 nameOverride: so-oof-adapter-cert-init
102 certInitializer:
103 nameOverride: so-oof-adapter-cert-init
104 credsPath: /opt/app/osaaf/local
105 cadi:
106 apiEnforcement: org.onap.so.oofadapterPerm
107 containerPort: *containerPort
108
109# Resource Limit flavor -By Default using small
110flavor: small
111# Segregation for Different environment (Small and Large)
112resources:
113 small:
114 limits:
115 memory: 4Gi
116 cpu: 2000m
117 requests:
118 memory: 1Gi
119 cpu: 500m
120 large:
121 limits:
122 memory: 8Gi
123 cpu: 4000m
124 requests:
125 memory: 2Gi
126 cpu: 1000m
127 unlimited: {}
128livenessProbe:
129 path: /manage/health
130 port: *containerPort
131 scheme: HTTP
132 initialDelaySeconds: 600
133 periodSeconds: 60
134 timeoutSeconds: 10
135 successThreshold: 1
136 failureThreshold: 3
137ingress:
138 enabled: false
139nodeSelector: {}
140tolerations: []
141affinity: {}