[HOLMES] Remove AAF dependency and support SM
[oom.git] / kubernetes / holmes / components / holmes-engine-mgmt / values.yaml
1 #============LICENSE_START========================================================
2 # ================================================================================
3 # Copyright (c) 2021 ZTE Corporation Intellectual Property. All rights reserved.
4 # ================================================================================
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 #     http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 # ============LICENSE_END=========================================================
17
18 #################################################################
19 # Global configuration defaults.
20 #################################################################
21 global:
22   nodePortPrefixExt: 302
23   msbProtocol: http
24   msbServiceName: msb-iag
25   msbPort: 80
26   postgres:
27     localCluster: false
28
29 #################################################################
30 # Application configuration defaults.
31 #################################################################
32 # application image
33 image: onap/holmes/engine-management:11.0.0
34 consulLoaderImage: onap/org.onap.dcaegen2.deployments.consul-loader-container:1.0.0
35
36 #################################################################
37 # Secrets metaconfig
38 #################################################################
39 secrets:
40 - uid: pg-user-creds
41   type: basicAuth
42   externalSecret: '{{ tpl (default "" .Values.config.pgConfig.dbUserCredsExternalSecret) . }}'
43   login: '{{ .Values.config.pgConfig.dbUser }}'
44   password: '{{ .Values.config.pgConfig.dbUserPassword }}'
45
46 # application configuration
47 config:
48   logstashServiceName: log-ls
49   logstashPort: 5044
50   # Addresses of other ONAP entities
51   address:
52     consul:
53       host: consul-server
54       port: 8500
55   pgConfig:
56     dbName: defaultName
57     dbHost: defaultHost
58     dbPort: 1234
59     dbUser: admin
60     dbUserPassword: admin
61     # dbUserCredsExternalSecret
62
63 service:
64   type: ClusterIP
65   name: holmes-engine-mgmt
66   ports:
67   - name: http-rest
68     port: &svc_port 9102
69
70 # probe configuration parameters
71 liveness:
72   initialDelaySeconds: 10
73   periodSeconds: 10
74   path: /api/holmes-engine-mgmt/v1/healthcheck
75   scheme: HTTP
76   port: *svc_port
77   enabled: true
78
79 readiness:
80   initialDelaySeconds: 30
81   periodSeconds: 30
82   path: /api/holmes-engine-mgmt/v1/healthcheck
83   scheme: HTTP
84   port: *svc_port
85
86 # Segregation for Different environment (Small and Large)
87 resources:
88   small:
89     limits:
90       cpu: 500m
91       memory: 1Gi
92     requests:
93       cpu: 250m
94       memory: 500Mi
95   large:
96     limits:
97       cpu: 500m
98       memory: 2Gi
99     requests:
100       cpu: 250m
101       memory: 1Gi
102   unlimited: {}
103
104 readinessCheck:
105   wait_for:
106     jobs:
107       - '{{ include "common.release" . }}-holmes-postgres-init-config-job'
108
109 #Pods Service Account
110 serviceAccount:
111   nameOverride: holmes-engine-mgmt
112   roles:
113     - read