[SO] Update SO images to 1.7.12
[oom.git] / kubernetes / so / components / so-oof-adapter / values.yaml
1 # 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 #################################################################
18 global:
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   mariadbGalera:
35     serviceName: mariadb-galera
36     servicePort: '3306'
37
38 # Secrets metaconfig
39 #################################################################
40 db:
41   userName: so_user
42   userPassword: so_User123
43   # userCredsExternalSecret: some secret
44   adminName: so_admin
45   adminPassword: so_Admin123
46   # adminCredsExternalSecret: some secret
47 secrets:
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 #################################################################
79
80 repository: nexus3.onap.org:10001
81 image: onap/so/so-oof-adapter:1.7.12
82
83 pullPolicy: Always
84
85 mso:
86   msoKey: 07a7159d3bf51a0e53be7a8f89699be7
87   oof:
88     login: test
89     password: testpwd
90
91 replicaCount: 1
92 containerPort: &containerPort 8090
93 minReadySeconds: 10
94 containerPort: *containerPort
95 logPath: ./logs/oof/
96 app: so-oof-adapter
97 service:
98     type: ClusterIP
99     ports:
100       - name: api
101         port: *containerPort
102 updateStrategy:
103     type: RollingUpdate
104     maxUnavailable: 1
105     maxSurge: 1
106
107
108 soHelpers:
109   nameOverride: so-oof-adapter-cert-init
110   certInitializer:
111     nameOverride: so-oof-adapter-cert-init
112     credsPath: /opt/app/osaaf/local
113   cadi:
114     apiEnforcement: org.onap.so.oofadapterPerm
115   containerPort: *containerPort
116
117 # Resource Limit flavor -By Default using small
118 flavor: small
119 # Segregation for Different environment (Small and Large)
120 resources:
121   small:
122     limits:
123       memory: 4Gi
124       cpu: 2000m
125     requests:
126       memory: 1Gi
127       cpu: 500m
128   large:
129     limits:
130       memory: 8Gi
131       cpu: 4000m
132     requests:
133       memory: 2Gi
134       cpu: 1000m
135   unlimited: {}
136 livenessProbe:
137     path: /manage/health
138     port: *containerPort
139     scheme: HTTP
140     initialDelaySeconds: 600
141     periodSeconds: 60
142     timeoutSeconds: 10
143     successThreshold: 1
144     failureThreshold: 3
145 ingress:
146   enabled: false
147 nodeSelector: {}
148 tolerations: []
149 affinity: {}