[CONSUL] Add limits to consul chart.
[oom.git] / kubernetes / so / charts / so-monitoring / templates / configmap.yaml
1 #  ============LICENSE_START=======================================================
2 #   Copyright (C) 2018 Ericsson. All rights reserved.
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 #  SPDX-License-Identifier: Apache-2.0
17 #  ============LICENSE_END=========================================================
18 #  @author: gareth.roper@ericsson.com
19 apiVersion: v1
20 data:
21   LOG_PATH: {{ index .Values.logPath }}
22   APP: {{ index .Values.app }}
23 kind: ConfigMap
24 metadata:
25   name: {{ include "common.fullname" . }}-configmap
26   namespace: {{ include "common.namespace" . }}
27   labels:
28     app: {{ include "common.name" . }}
29     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
30     release: {{ include "common.release" . }}
31     heritage: {{ .Release.Service }}
32 ---
33 apiVersion: v1
34 kind: ConfigMap
35 metadata:
36   name: {{ include "common.fullname" . }}-app-configmap
37   namespace: {{ include "common.namespace" . }}
38   labels:
39     app: {{ include "common.name" . }}
40     chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
41     release: {{ include "common.release" . }}
42     heritage: {{ .Release.Service }}
43 data:
44 {{ tpl (.Files.Glob "resources/config/overrides/*").AsConfig . | indent 2 }}