blob: 277f4c3a8969b49df4aea5e94be1d7c9ecf673c6 [file] [log] [blame]
Jeremy Ronquillo223db002020-06-05 10:28:22 -07001{{/*
Jeremy Ronquilloec2d3e42020-06-05 11:33:39 -07002# Copyright 2018-present Open Networking Foundation
3# Copyright 2018 Intel Corporation
Jeremy Ronquillo223db002020-06-05 10:28:22 -07004
Jeremy Ronquilloec2d3e42020-06-05 11:33:39 -07005# SPDX-License-Identifier: Apache-2.0
Jeremy Ronquillo6046ce32020-06-18 11:06:29 -07006# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
Jeremy Ronquillo223db002020-06-05 10:28:22 -07007*/}}
8
9---
10apiVersion: "k8s.cni.cncf.io/v1"
11kind: NetworkAttachmentDefinition
12metadata:
13 name: s1u-net
14{{- if $.Values.config.sriov.enabled }}
15 annotations:
16 k8s.v1.cni.cncf.io/resourceName: intel.com/sriov_vfio_s1u_net
17{{- end }}
18spec:
19 config: '{
20 "type": {{ .Values.networks.cniPlugin | quote }},
21 "ipam": {
22 "type": {{ .Values.networks.ipam | quote }}
23 }
24 }'
25---
26apiVersion: "k8s.cni.cncf.io/v1"
27kind: NetworkAttachmentDefinition
28metadata:
29 name: sgi-net
30{{- if $.Values.config.sriov.enabled }}
31 annotations:
32 k8s.v1.cni.cncf.io/resourceName: intel.com/sriov_vfio_sgi_net
33{{- end }}
34spec:
35 config: '{
36 "type": {{ .Values.networks.cniPlugin | quote }},
37 "ipam": {
38 "type": {{ .Values.networks.ipam | quote }}
39 }
40 }'