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