{{- /* | |
# Copyright 2019-present Open Networking Foundation | |
# | |
# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 | |
*/ -}} | |
{{/* | |
Renders a set of standardised labels. | |
*/}} | |
{{- define "omec-data-plane-cni.metadata_labels" -}} | |
{{- $application := index . 0 -}} | |
{{- $context := index . 1 -}} | |
release: {{ $context.Release.Name }} | |
app: {{ $application }} | |
{{- end -}} |