diff options
author | Andreas Geissler <andreas-geissler@telekom.de> | 2024-04-10 10:45:53 +0200 |
---|---|---|
committer | Andreas Geissler <andreas-geissler@telekom.de> | 2024-04-10 11:01:08 +0200 |
commit | 4b149053969ca20ac0d1cf14fe69bf0eeb042859 (patch) | |
tree | fa446f4598edb8f9746bc944c72043d15dbd4643 /kubernetes/sdnc/components/dgbuilder/templates/configmap.yaml | |
parent | 5230ed9ba9769c93487ad66d0d1f68eec5134a90 (diff) |
[SDNC] Move dgbuilder and network-name-gen to SDNC
Move the charts from /common to sdnc/components and simplify
the DB creation.
Issue-ID: OOM-3286
Change-Id: Ib0c53e51b96ad2e1573859b9d938e700c0bea4ac
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Diffstat (limited to 'kubernetes/sdnc/components/dgbuilder/templates/configmap.yaml')
-rw-r--r-- | kubernetes/sdnc/components/dgbuilder/templates/configmap.yaml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/kubernetes/sdnc/components/dgbuilder/templates/configmap.yaml b/kubernetes/sdnc/components/dgbuilder/templates/configmap.yaml new file mode 100644 index 0000000000..05699e6107 --- /dev/null +++ b/kubernetes/sdnc/components/dgbuilder/templates/configmap.yaml @@ -0,0 +1,28 @@ +{{/* +# Copyright © 2018 AT&T, Amdocs, Bell Canada +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +*/}} + +apiVersion: v1 +kind: ConfigMap +metadata: + name: {{ include "common.fullname" . }}-config + namespace: {{ include "common.namespace" . }} + labels: + app: {{ include "common.name" . }} + chart: {{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }} + release: {{ include "common.release" . }} + heritage: {{ .Release.Service }} +data: +{{ tpl (.Files.Glob "resources/config/*").AsConfig . | indent 2 }} |