blob: ec46eb08013733927e70b50a33213a07b6c421da [file] [log] [blame]
Osman Amjadca078812021-12-15 14:31:54 -06001{{/*
2# Copyright 2020-present Open Networking Foundation
3
4# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
5*/}}
6
7{{- if .Values.config.dbtestapp.deploy }}
8
9apiVersion: v1
10kind: ConfigMap
11metadata:
12 name: dbtestapp
13 labels:
14{{ tuple "dbtestapp" . | include "5g-test-apps.metadata_labels" | indent 4 }}
15data:
16 dbtestapp-run.sh: |
17{{ tuple "bin/_dbtestapp-run.sh.tpl" . | include "5g-test-apps.template" | indent 4 }}
18{{- if not .Values.config.useExistingConfigMap -}}
19{{- range $key, $value := .Values.config.dbtestapp.cfgFiles }}
20 {{ $key }}: |-
21{{ toYaml $value | indent 4 }}
22{{- end }}
23{{- end }}
24{{- end }}