blob: d9bd41aa1104b41357b5657eb5384a0899a5fa5c [file] [log] [blame]
{{/*
# Copyright 2020-present Open Networking Foundation
# SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
*/}}
---
apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
metadata:
name: s1u-net
{{- if $.Values.config.spgwu.sriov.enabled }}
annotations:
k8s.v1.cni.cncf.io/resourceName: intel.com/sriov_vfio_s1u_net
{{- end }}
spec:
config: '{
"type": {{ .Values.config.spgwu.cniPlugin | quote }},
"ipam": {
"type": {{ .Values.config.spgwu.ipam | quote }}
}
}'
---
apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
metadata:
name: sgi-net
{{- if $.Values.config.spgwu.sriov.enabled }}
annotations:
k8s.v1.cni.cncf.io/resourceName: intel.com/sriov_vfio_sgi_net
{{- end }}
spec:
config: '{
"type": {{ .Values.config.spgwu.cniPlugin | quote }},
"ipam": {
"type": {{ .Values.config.spgwu.ipam | quote }}
}
}'