[MULTICLOUD-SDC-DIST] Updgrade artifactbroker to use kafka native
[oom.git] / kubernetes / multicloud / components / multicloud-k8s / values.yaml
1 # Copyright 2019 Intel Corporation, Inc
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   nodePortPrefixExt: 304
20   persistence: {}
21   artifactImage: onap/multicloud/framework-artifactbroker:1.9.0
22   multicloudK8sKafkaUser: mc-k8s-sdc-list-kafka-user
23
24 #################################################################
25 # Secrets metaconfig
26 #################################################################
27 secrets:
28   - uid: multicloud-k8s-sdc-kafka-secret
29     externalSecret: '{{ tpl (default "" .Values.config.jaasConfExternalSecret) . }}'
30     type: genericKV
31     envs:
32       - name: sasl.jaas.config
33         value: '{{ .Values.config.someConfig }}'
34         policy: generate
35
36 #################################################################
37 # Application configuration defaults.
38 #################################################################
39 # application image
40 image: onap/multicloud/k8s:0.10.1
41 pullPolicy: Always
42
43 config:
44   someConfig: blah
45   kafka:
46     securityProtocol: SASL_PLAINTEXT
47     saslMechanism: SCRAM-SHA-512
48     authType: simple
49     sdcTopic:
50       pattern: SDC-DIST
51       consumerGroup: multicloud
52       clientId: multicloud-k8s
53
54 # flag to enable debugging - application support required
55 debugEnabled: false
56
57 # application configuration is via config files
58
59 # default number of instances
60 replicaCount: 1
61
62 nodeSelector: {}
63
64 affinity: {}
65
66 # probe configuration parameters
67 liveness:
68   initialDelaySeconds: 10
69   periodSeconds: 30
70   # necessary to disable liveness probe when setting breakpoints
71   # in debugger so K8s doesn't restart unresponsive container
72   enabled: true
73
74 readiness:
75   initialDelaySeconds: 10
76   periodSeconds: 30
77
78 service:
79   type: ClusterIP
80   name: multicloud-k8s
81   portName: http
82   internalPort: 9015
83   externalPort: 9015
84   nodePort: 98
85
86 #Mongo chart overrides for k8splugin
87 mongo:
88   nameOverride: multicloud-k8s-mongo
89   service:
90     name: multicloud-k8s-mongo
91     internalPort: 27017
92   nfsprovisionerPrefix: multicloud-k8s
93   sdnctlPrefix: multicloud-k8s
94   persistence:
95     mountSubPath: multicloud-k8s/mongo/data
96     enabled: true
97   disableNfsProvisioner: true
98   flavor: &storage_flavor large
99   resources: &storage_resources
100     small:
101       limits:
102         cpu: 100m
103         memory: 300Mi
104       requests:
105         cpu: 10m
106         memory: 75Mi
107     large:
108       limits:
109         cpu: 200m
110         memory: 1Gi
111       requests:
112         cpu: 50m
113         memory: 300Mi
114     unlimited: {}
115
116 #etcd chart overrides for k8splugin
117 etcd:
118   nameOverride: multicloud-k8s-etcd
119   service:
120     name: multicloud-k8s-etcd
121   persistence:
122     mountSubPath: multicloud-k8s/etcd/data
123     enabled: true
124   flavor: *storage_flavor
125   resources: *storage_resources
126
127 # No persistence right now as we rely on Mongo to handle that
128 persistence:
129   enabled: false
130   volumeReclaimPolicy: Retain
131   accessMode: ReadWriteOnce
132   size: 1Gi
133   mountPath: /dockerdata-nfs
134   mountSubPath: multicloud-k8s/data
135
136 ingress:
137   enabled: false
138
139 artifactbroker:
140   internalPort: 9014
141
142 # Configure resource requests and limits
143 flavor: large
144 resources:
145   small:
146     limits:
147       cpu: 200m
148       memory: 500Mi
149     requests:
150       cpu: 10m
151       memory: 10Mi
152   large:
153     limits:
154       cpu: 400m
155       memory: 1Gi
156     requests:
157       cpu: 10m
158       memory: 100Mi
159   unlimited: {}
160
161 #Pods Service Account
162 serviceAccount:
163   nameOverride: multicloud-k8s
164   roles:
165     - read