blob: ec88ad4c8335d267a38988570cd230902e6e2ceb [file] [log] [blame]
Jeremy Ronquillo223db002020-06-05 10:28:22 -07001{{/*
Jeremy Ronquilloec2d3e42020-06-05 11:33:39 -07002# Copyright 2020-present Open Networking Foundation
Jeremy Ronquillo223db002020-06-05 10:28:22 -07003
Jeremy Ronquillo6046ce32020-06-18 11:06:29 -07004# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
Jeremy Ronquillo223db002020-06-05 10:28:22 -07005*/}}
6
7---
8apiVersion: v1
9kind: ConfigMap
10metadata:
Hyunsun Moon33d85312020-08-20 00:55:31 -070011 name: upf
Jeremy Ronquillo223db002020-06-05 10:28:22 -070012 labels:
Hyunsun Moon33d85312020-08-20 00:55:31 -070013{{ tuple "upf" . | include "omec-user-plane.metadata_labels" | indent 4 }}
Jeremy Ronquillo223db002020-06-05 10:28:22 -070014data:
Hyunsun Moon33d85312020-08-20 00:55:31 -070015{{- range $key, $value := .Values.config.upf.cfgFiles }}
Hyunsun Moond60fcaf2020-07-14 16:09:13 -070016 {{ $key }}: {{ toJson $value | quote }}
17{{- end }}
Jeremy Ronquillo223db002020-06-05 10:28:22 -070018 bessd-poststart.sh: |
19{{ tuple "bin/_bessd-poststart.sh.tpl" . | include "omec-user-plane.template" | indent 4 }}