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