Merge "[VES-OAPI-SDC-DIST] Updgrade ves-openapi to kafka native"
[oom.git] / kubernetes / cds / components / cds-sdc-listener / values.yaml
1 # Copyright (c) 2019 Bell Canada
2 # Modification Copyright © 2022 Nordix Foundation
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 #################################################################
16 # Global configuration defaults.
17 #################################################################
18 global:
19   # Change to an unused port prefix range to prevent port conflicts
20   # with other instances running within the same k8s cluster
21   nodePortPrefix: 302
22
23   # image pull policy
24   pullPolicy: Always
25
26   persistence:
27     mountPath: /dockerdata-nfs
28
29   cdsSdcListenerKafkaUser: cds-sdc-list-user
30
31 #################################################################
32 # Application configuration defaults.
33 #################################################################
34 # application image
35 image: onap/ccsdk-sdclistener:1.5.0
36 name: sdc-listener
37 pullPolicy: Always
38
39 # flag to enable debugging - application support required
40 debugEnabled: false
41
42 secrets:
43   - uid: cds-sdc-kafka-secret
44     externalSecret: '{{ tpl (default "" .Values.config.jaasConfExternalSecret) . }}'
45     type: genericKV
46     envs:
47       - name: sasl.jaas.config
48         value: '{{ .Values.config.someConfig }}'
49         policy: generate
50
51 # application configuration
52 config:
53   appConfigDir: /opt/app/onap/config
54   someConfig: blah
55   kafka:
56     securityProtocol: SASL_PLAINTEXT
57     saslMechanism: SCRAM-SHA-512
58     authType: simple
59     sdcTopic:
60       pattern: SDC-DIST
61       consumerGroup: cds
62       clientId: cds-sdc-listener
63
64 # default number of instances
65 replicaCount: 1
66
67 nodeSelector: {}
68
69 affinity: {}
70
71 # probe configuration parameters
72 liveness:
73   initialDelaySeconds: 10
74   periodSeconds: 10
75   # necessary to disable liveness probe when setting breakpoints
76   # in debugger so K8s doesn't restart unresponsive container
77   enabled: true
78
79 readiness:
80   initialDelaySeconds: 10
81   periodSeconds: 10
82
83 service:
84   type: ClusterIP
85   http:
86     portName: http
87     internalPort: 8080
88     externalPort: 8080
89
90 persistence:
91   enabled: true
92
93 ingress:
94   enabled: false
95
96 logback:
97   rootLogLevel: INFO
98   logger:
99     springframework: INFO
100     springframeworkWeb: INFO
101     springframeworkSecurityWebauthentication: INFO
102     hibernate: INFO
103     onapCcsdkCds: INFO
104
105 flavor: small
106
107 resources:
108   small:
109     limits:
110       cpu: 2
111       memory: 4Gi
112     requests:
113       cpu: 1
114       memory: 1Gi
115   large:
116     limits:
117       cpu: 4
118       memory: 8Gi
119     requests:
120       cpu: 2
121       memory: 4Gi
122   unlimited: {}
123
124 #Pods Service Account
125 serviceAccount:
126   nameOverride: cds-sdc-listener
127   roles:
128     - read