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