pudelkoM | 3f0efb1 | 2021-01-12 13:55:48 -0800 | [diff] [blame] | 1 | {{/* |
| 2 | # Copyright 2020-present Open Networking Foundation |
| 3 | |
| 4 | # SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 |
| 5 | */}} |
| 6 | |
| 7 | apiVersion: "k8s.cni.cncf.io/v1" |
| 8 | kind: NetworkAttachmentDefinition |
| 9 | metadata: |
| 10 | name: {{ .Values.multusNetworkName }} |
| 11 | annotations: |
| 12 | k8s.v1.cni.cncf.io/resourceName: intel.com/{{ .Values.sriovResourceName }} |
| 13 | spec: |
| 14 | config: '{ |
| 15 | "type": "sriov", |
| 16 | "name": "sriov-network", |
| 17 | "ipam": { |
| 18 | "type": "host-local", |
| 19 | "subnet": "10.56.217.0/24", |
| 20 | "routes": [{ |
| 21 | "dst": "0.0.0.0/0" |
| 22 | }], |
| 23 | "gateway": "10.56.217.1" |
| 24 | } |
| 25 | }' |