Jeremy Ronquillo | 223db00 | 2020-06-05 10:28:22 -0700 | [diff] [blame] | 1 | {{- /* |
Jeremy Ronquillo | ec2d3e4 | 2020-06-05 11:33:39 -0700 | [diff] [blame^] | 2 | |
Jeremy Ronquillo | 223db00 | 2020-06-05 10:28:22 -0700 | [diff] [blame] | 3 | # Copyright 2019-present Open Networking Foundation |
| 4 | # |
Jeremy Ronquillo | ec2d3e4 | 2020-06-05 11:33:39 -0700 | [diff] [blame^] | 5 | # SPDX-License-Identifier: Apache-2.0 |
| 6 | # SPDX-License-Identifier: LicenseRef-ONF-Member-Only |
| 7 | |
Jeremy Ronquillo | 223db00 | 2020-06-05 10:28:22 -0700 | [diff] [blame] | 8 | */ -}} |
| 9 | |
| 10 | {{/* |
| 11 | Renders a set of standardised labels. |
| 12 | */}} |
| 13 | {{- define "omec-data-plane-cni.metadata_labels" -}} |
| 14 | {{- $application := index . 0 -}} |
| 15 | {{- $context := index . 1 -}} |
| 16 | release: {{ $context.Release.Name }} |
| 17 | app: {{ $application }} |
| 18 | {{- end -}} |