[CASSANDRA] Change values to makre Cassandra instances more stable
[oom.git] / kubernetes / dcaegen2 / components / dcae-cloudify-manager / templates / configmap.yaml
1 {{/*
2 #============LICENSE_START========================================================
3 # ================================================================================
4 # Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
5 # Modifications Copyright © 2018 Amdocs, Bell Canada
6 # Copyright (c) 2021 J. F. Lucas.  All rights reserved.
7 # ================================================================================
8 # Licensed under the Apache License, Version 2.0 (the "License");
9 # you may not use this file except in compliance with the License.
10 # You may obtain a copy of the License at
11 #
12 #     http://www.apache.org/licenses/LICENSE-2.0
13 #
14 # Unless required by applicable law or agreed to in writing, software
15 # distributed under the License is distributed on an "AS IS" BASIS,
16 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 # See the License for the specific language governing permissions and
18 # limitations under the License.
19 # ============LICENSE_END=========================================================
20 */}}
21 apiVersion: v1
22 kind: ConfigMap
23 metadata:
24   name: {{ include "common.fullname" . }}-configmap
25   namespace: {{ include "common.namespace" . }}
26 data:
27 {{ tpl (.Files.Glob "resources/config/*").AsConfig . | indent 2 }}
28 ---
29 apiVersion: v1
30 kind: ConfigMap
31 metadata:
32   name: {{ include "common.fullname" . }}-plugins
33   namespace: {{ include "common.namespace" . }}
34 data:
35 {{ tpl (.Files.Glob "resources/config/plugins/*").AsConfig . | indent 2 }}
36 ---
37 apiVersion: v1
38 kind: ConfigMap
39 metadata:
40   name: {{ include "common.release" . }}-dcae-filebeat-configmap
41   namespace: {{include "common.namespace" . }}
42 data:
43 {{ tpl (.Files.Glob "resources/config/log/*").AsConfig . | indent 2 }}
44 ---
45 apiVersion: v1
46 kind: ConfigMap
47 metadata:
48   name: {{ .Values.multisiteConfigMapName }}
49   namespace: {{include "common.namespace" . }}
50 {{ if .Values.dcae_ns }}
51 ---
52 apiVersion: v1
53 kind: ConfigMap
54 metadata:
55   name: {{ include "common.release" . }}-dcae-filebeat-configmap
56   namespace: {{ .Values.dcae_ns }}
57 data:
58 {{ tpl (.Files.Glob "resources/config/log/*").AsConfig . | indent 2 }}
59 {{ end }}
60