Skip to content

Commit

Permalink
Merge pull request #698 from manuelbuil/addExtraNICs
Browse files Browse the repository at this point in the history
Use helm values to expand the supported NICs
  • Loading branch information
zeeke authored May 16, 2024
2 parents 0ca3629 + 9302785 commit 00ce764
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions deployment/sriov-network-operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ We have introduced the following Chart parameters.
| Name | Type | Default | description |
| ---- |------|---------|-------------|
| `imagePullSecrets` | list | `[]` | An optional list of references to secrets to use for pulling any of the SR-IOV Network Operator image |
| `supportedExtraNICs` | list | `[]` | An optional list of whitelisted NICs |

### Operator parameters

Expand Down
3 changes: 3 additions & 0 deletions deployment/sriov-network-operator/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ data:
Marvell_OCTEON_Fusion_CNF95XX: "177d b600 b603"
Marvell_OCTEON10_CN10XXX: "177d b900 b903"
Marvell_OCTEON_Fusion_CNF105XX: "177d ba00 ba03"
{{- range .Values.supportedExtraNICs }}
{{ . }}
{{- end }}
3 changes: 3 additions & 0 deletions deployment/sriov-network-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ sriovOperatorConfig:
# sriov-network-config-daemon configuration mode. either "daemon" or "systemd"
configurationMode: daemon

# Example for supportedExtraNICs values ['MyNIC: "8086 1521 1520"']
supportedExtraNICs: []

# Image URIs for sriov-network-operator components
images:
operator: ghcr.io/k8snetworkplumbingwg/sriov-network-operator
Expand Down

0 comments on commit 00ce764

Please sign in to comment.