Merge "[AAI] Add model-loader tracing config"
[oom.git] / kubernetes / so / components / so-etsi-sol005-adapter / values.yaml
1 # Copyright © 2018 AT&T USA
2 # Copyright © 2020 Huawei
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 # Global configuration defaults.
16 #################################################################
17 global:
18   nodePortPrefix: 302
19   nodePortPrefixExt: 304
20   persistence:
21     mountPath: /dockerdata-nfs
22   mariadbGalera:
23     service: mariadb-galera
24     servicePort: '3306'
25
26 readinessCheck:
27   wait_for:
28     jobs:
29       - '{{ include "common.release" . }}-so-mariadb-config-job'
30
31 #################################################################
32 # Secrets metaconfig
33 #################################################################
34 secrets:
35   - uid: db-user-creds
36     type: basicAuth
37     externalSecret: '{{ tpl (default "" .Values.db.userCredsExternalSecret) . }}'
38     login: '{{ .Values.db.userName }}'
39     password: '{{ .Values.db.userPassword }}'
40     passwordPolicy: required
41   - uid: db-admin-creds
42     type: basicAuth
43     externalSecret: '{{ tpl (default "" .Values.db.adminCredsExternalSecret) . }}'
44     login: '{{ .Values.db.adminName }}'
45     password: '{{ .Values.db.adminPassword }}'
46     passwordPolicy: required
47
48 #secretsFilePaths: |
49 #  - 'my file 1'
50 #  - '{{ include "templateThatGeneratesFileName" . }}'
51
52 #################################################################
53 # Application configuration defaults.
54 #################################################################
55 image: onap/so/so-etsi-sol005-adapter:1.9.0
56 pullPolicy: Always
57
58 # Local mariadb galera instance default name
59 mariadb-galera:
60   nameOverride: so-mariadb-galera
61   service:
62     internalPort: 3306
63   mariadbOperator:
64     galera:
65       enabled: false
66
67 db:
68   userName: so_user
69   userPassword: so_User123
70   # userCredsExternalSecret: some secret
71   adminName: so_admin
72   adminPassword: so_Admin123
73   # adminCredsExternalSecret: some secret
74
75 mso:
76   adapters:
77     requestDb:
78       auth: Basic YnBlbDpwYXNzd29yZDEk
79
80 replicaCount: 1
81 minReadySeconds: 10
82 containerPort: &containerPort 8084
83 logPath: ./logs/etsi-sol005-adapter/
84 app: etsi-sol005-adapter
85 service:
86   type: ClusterIP
87   ports:
88   - port: *containerPort
89     name: http
90 updateStrategy:
91   type: RollingUpdate
92   maxUnavailable: 1
93   maxSurge: 1
94
95 #################################################################
96 # soHelpers part
97 #################################################################
98 soHelpers:
99   containerPort: *containerPort
100
101 # Resource Limit flavor -By Default using small
102 flavor: small
103 # Segregation for Different environment (Small and Large)
104 resources:
105   small:
106     limits:
107       cpu: "1"
108       memory: "1Gi"
109     requests:
110       cpu: "0.5"
111       memory: "1Gi"
112   large:
113     limits:
114       cpu: "2"
115       memory: "2Gi"
116     requests:
117       cpu: "1"
118       memory: "2Gi"
119   unlimited: {}
120 livenessProbe:
121   path: /manage/health
122   port: 8084
123   scheme: HTTP
124   initialDelaySeconds: 600
125   periodSeconds: 60
126   timeoutSeconds: 10
127   successThreshold: 1
128   failureThreshold: 3
129 ingress:
130   enabled: false
131 serviceMesh:
132   authorizationPolicy:
133     authorizedPrincipals:
134       - serviceAccount: robot-read
135       - serviceAccount: so-bpmn-infra-read
136       - serviceAccount: so-read
137 nodeSelector: {}
138 tolerations: []
139 affinity: {}
140
141 #Pods Service Account
142 serviceAccount:
143   nameOverride: so-etsi-sol005-adapter
144   roles:
145     - read