[CDS-SDC-DIST] Move CDS listener to use strimzi kafka user template
[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 #################################################################
30 # Application configuration defaults.
31 #################################################################
32 # application image
33 image: onap/ccsdk-sdclistener:1.5.0
34 name: sdc-listener
35 pullPolicy: Always
36
37 # flag to enable debugging - application support required
38 debugEnabled: false
39
40 kafkaUser:
41   acls:
42     - name: cds
43       type: group
44       operations: [Read]
45     - name: SDC-DISTR
46       type: topic
47       patternType: prefix
48       operations: [Read, Write]
49
50 config:
51   appConfigDir: /opt/app/onap/config
52
53 # default number of instances
54 replicaCount: 1
55
56 nodeSelector: {}
57
58 affinity: {}
59
60 # probe configuration parameters
61 liveness:
62   initialDelaySeconds: 10
63   periodSeconds: 10
64   # necessary to disable liveness probe when setting breakpoints
65   # in debugger so K8s doesn't restart unresponsive container
66   enabled: true
67
68 readiness:
69   initialDelaySeconds: 10
70   periodSeconds: 10
71
72 service:
73   type: ClusterIP
74   http:
75     portName: http
76     internalPort: 8080
77     externalPort: 8080
78
79 persistence:
80   enabled: true
81
82 ingress:
83   enabled: false
84
85 logback:
86   rootLogLevel: INFO
87   logger:
88     springframework: INFO
89     springframeworkWeb: INFO
90     springframeworkSecurityWebauthentication: INFO
91     hibernate: INFO
92     onapCcsdkCds: INFO
93
94 flavor: small
95
96 resources:
97   small:
98     limits:
99       cpu: 2
100       memory: 4Gi
101     requests:
102       cpu: 1
103       memory: 1Gi
104   large:
105     limits:
106       cpu: 4
107       memory: 8Gi
108     requests:
109       cpu: 2
110       memory: 4Gi
111   unlimited: {}
112
113 #Pods Service Account
114 serviceAccount:
115   nameOverride: cds-sdc-listener
116   roles:
117     - read