Merge "[AAI] Add model-loader tracing config"
[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   persistence:
22     mountPath: /dockerdata-nfs
23   mariadbGalera:
24     # flag to enable the DB creation via mariadb-operator
25     useOperator: true
26     service: mariadb-galera
27     servicePort: '3306'
28
29 # Secrets metaconfig
30 #################################################################
31 db:
32   userName: so_user
33   userPassword: so_User123
34   # userCredsExternalSecret: some secret
35   adminName: so_admin
36   adminPassword: so_Admin123
37   # adminCredsExternalSecret: some secret
38 secrets:
39   - uid: db-user-creds
40     type: basicAuth
41     externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
42     login: '{{ .Values.db.userName }}'
43     password: '{{ .Values.db.userPassword }}'
44     passwordPolicy: required
45   - uid: db-admin-creds
46     type: basicAuth
47     externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
48     login: '{{ .Values.db.adminName }}'
49     password: '{{ .Values.db.adminPassword }}'
50     passwordPolicy: required
51   - uid: oof-adapter-mso-key
52     type: password
53     externalSecret: '{{ tpl (default "" .Values.mso.msoKeySecret) . }}'
54     password: '{{ .Values.mso.msoKey }}'
55   - uid: oof-auth
56     type: basicAuth
57     externalSecret: '{{ tpl (default "" .Values.mso.oof.authSecret) . }}'
58     login: '{{ .Values.mso.oof.login }}'
59     password: '{{ .Values.mso.oof.password }}'
60     passwordPolicy: required
61
62
63 #secretsFilePaths: |
64 #  - 'my file 1'
65 #  - '{{ include "templateThatGeneratesFileName" . }}'
66
67 #################################################################
68 # Application configuration defaults.
69 #################################################################
70 image: onap/so/so-oof-adapter:1.8.3
71 pullPolicy: Always
72
73 # Local mariadb galera instance default name
74 mariadb-galera:
75   nameOverride: so-mariadb-galera
76   service:
77     internalPort: 3306
78   mariadbOperator:
79     galera:
80       enabled: false
81
82 mso:
83   msoKey: 07a7159d3bf51a0e53be7a8f89699be7
84   oof:
85     login: test
86     password: testpwd
87
88 replicaCount: 1
89 containerPort: &containerPort 8090
90 minReadySeconds: 10
91 containerPort: *containerPort
92 logPath: ./logs/oof-adapter/
93 app: so-oof-adapter
94 service:
95   type: ClusterIP
96   ports:
97     - name: http
98       port: *containerPort
99 updateStrategy:
100   type: RollingUpdate
101   maxUnavailable: 1
102   maxSurge: 1
103
104 #################################################################
105 # soHelpers part
106 #################################################################
107 soHelpers:
108   containerPort: *containerPort
109
110 # Resource Limit flavor -By Default using small
111 flavor: small
112 # Segregation for Different environment (Small and Large)
113 resources:
114   small:
115     limits:
116       cpu: "1"
117       memory: "1Gi"
118     requests:
119       cpu: "0.5"
120       memory: "1Gi"
121   large:
122     limits:
123       cpu: "2"
124       memory: "2Gi"
125     requests:
126       cpu: "1"
127       memory: "2Gi"
128   unlimited: {}
129 livenessProbe:
130   path: /manage/health
131   port: *containerPort
132   scheme: HTTP
133   initialDelaySeconds: 600
134   periodSeconds: 60
135   timeoutSeconds: 10
136   successThreshold: 1
137   failureThreshold: 3
138 ingress:
139   enabled: false
140 serviceMesh:
141   authorizationPolicy:
142     authorizedPrincipals:
143       - serviceAccount: so-bpmn-infra-read
144       - serviceAccount: so-read
145 nodeSelector: {}
146 tolerations: []
147 affinity: {}
148
149 #Pods Service Account
150 serviceAccount:
151   nameOverride: so-oof-adapter
152   roles:
153     - read
154
155 #Log configuration
156 log:
157   path: /var/log/onap
158 logConfigMapNamePrefix: '{{ include "common.fullname" . }}'