blob: 667b23d6dbecf2351f2373284f6a0253e0f92ee7 [file] [log] [blame]
{{/*
# Copyright 2020-present Open Networking Foundation
# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
*/}}
{{- if .Values.config.udr.deploy }}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: udr
labels:
{{ tuple "udr" . | include "5g-control-plane.metadata_labels" | indent 4 }}
data:
udr-run.sh: |
{{ tuple "bin/_udr-run.sh.tpl" . | include "5g-control-plane.template" | indent 4 }}
{{- range $key, $value := .Values.config.udr.yamlCfgFiles }}
{{ $key }}: |-
{{ toYaml $value | indent 4 }}
{{- end }}
{{- end }}