blob: 7bc9396030a634b1f7c342f0a9041cc89a84bc44 [file] [log] [blame]
Osman Amjadca078812021-12-15 14:31:54 -06001{{/*
2# Copyright 2020-present Open Networking Foundation
3
Ajay Lotan Thakur03189d22022-02-10 14:06:03 -06004# SPDX-License-Identifier: Apache-2.0
Osman Amjadca078812021-12-15 14:31:54 -06005*/}}
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 }}