blob: cae151ae5826ad1d8a778025efac6e673c58036a [file] [log] [blame]
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -07001# 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#################################################################
18global:
19 nodePortPrefixExt: 304
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -070020 persistence: {}
efiacorc8c33162022-11-25 11:36:52 +000021 artifactImage: onap/multicloud/framework-artifactbroker:1.9.0
22 multicloudK8sKafkaUser: mc-k8s-sdc-list-kafka-user
23
24#################################################################
25# Secrets metaconfig
26#################################################################
27secrets:
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
Sylvain Desbureaux37dc40c2020-11-21 22:46:57 +010035
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -070036#################################################################
37# Application configuration defaults.
38#################################################################
39# application image
Lukasz Rajewskic8d7aac2022-04-12 18:47:25 +020040image: onap/multicloud/k8s:0.10.1
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -070041pullPolicy: Always
42
efiacorc8c33162022-11-25 11:36:52 +000043config:
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
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -070054# flag to enable debugging - application support required
55debugEnabled: false
56
57# application configuration is via config files
58
59# default number of instances
60replicaCount: 1
61
62nodeSelector: {}
63
64affinity: {}
65
66# probe configuration parameters
67liveness:
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
74readiness:
75 initialDelaySeconds: 10
76 periodSeconds: 30
77
78service:
79 type: ClusterIP
80 name: multicloud-k8s
Andreas Geisslerdfa23c82022-05-13 16:54:43 +020081 portName: http
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -070082 internalPort: 9015
83 externalPort: 9015
84 nodePort: 98
85
86#Mongo chart overrides for k8splugin
87mongo:
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
Konrad Bańka10740792020-09-11 17:04:51 +020098 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: {}
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -0700115
Kiran Kamineni068a2db2019-05-20 17:22:36 -0700116#etcd chart overrides for k8splugin
117etcd:
118 nameOverride: multicloud-k8s-etcd
119 service:
120 name: multicloud-k8s-etcd
121 persistence:
122 mountSubPath: multicloud-k8s/etcd/data
123 enabled: true
Konrad Bańka10740792020-09-11 17:04:51 +0200124 flavor: *storage_flavor
125 resources: *storage_resources
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -0700126
127# No persistence right now as we rely on Mongo to handle that
128persistence:
129 enabled: false
130 volumeReclaimPolicy: Retain
131 accessMode: ReadWriteOnce
132 size: 1Gi
133 mountPath: /dockerdata-nfs
134 mountSubPath: multicloud-k8s/data
135
136ingress:
137 enabled: false
138
liboNet80f587a2019-05-17 01:30:16 +0800139artifactbroker:
140 internalPort: 9014
141
Kiran Kaminenie2ba7c82019-04-22 17:52:13 -0700142# Configure resource requests and limits
143flavor: large
144resources:
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: {}
farida azmy72513552021-10-12 18:55:21 +0200160
161#Pods Service Account
162serviceAccount:
163 nameOverride: multicloud-k8s
164 roles:
165 - read