blob: 95839f230babd30e97d87128ebf5ba9b8ff1890d [file] [log] [blame]
Jakub Latusek44f0fdd2020-10-21 13:36:29 +02001{{/*
rope252cd2142c2018-09-17 12:35:36 +01002# ============LICENSE_START=======================================================
3# Copyright (C) 2018 Ericsson. All rights reserved.
4# ================================================================================
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16#
17# SPDX-License-Identifier: Apache-2.0
18# ============LICENSE_END=========================================================
19# @author: gareth.roper@ericsson.com
Jakub Latusek44f0fdd2020-10-21 13:36:29 +020020*/}}
rope252cd2142c2018-09-17 12:35:36 +010021apiVersion: v1
22data:
23 LOG_PATH: {{ index .Values.logPath }}
24 APP: {{ index .Values.app }}
25kind: ConfigMap
26metadata:
Sylvain Desbureaux1eff56b2021-02-25 14:13:01 +010027 name: {{ include "common.fullname" . }}
rope252cd2142c2018-09-17 12:35:36 +010028 namespace: {{ include "common.namespace" . }}
Ramesh Parthasarathya6528c72018-10-10 18:18:55 +000029 labels:
30 app: {{ include "common.name" . }}
31 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
Krzysztof Opasiak137d7cc2020-01-24 23:49:11 +010032 release: {{ include "common.release" . }}
Ramesh Parthasarathya6528c72018-10-10 18:18:55 +000033 heritage: {{ .Release.Service }}
34---
35apiVersion: v1
36kind: ConfigMap
37metadata:
Sylvain Desbureaux1eff56b2021-02-25 14:13:01 +010038 name: {{ include "common.fullname" . }}-app
Ramesh Parthasarathya6528c72018-10-10 18:18:55 +000039 namespace: {{ include "common.namespace" . }}
40 labels:
41 app: {{ include "common.name" . }}
42 chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}
Krzysztof Opasiak137d7cc2020-01-24 23:49:11 +010043 release: {{ include "common.release" . }}
Ramesh Parthasarathya6528c72018-10-10 18:18:55 +000044 heritage: {{ .Release.Service }}
45data:
46{{ tpl (.Files.Glob "resources/config/overrides/*").AsConfig . | indent 2 }}