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