diff --git a/deployment/network-operator/templates/mellanox.com_v1alpha1_nicclusterpolicy_cr.yaml b/deployment/network-operator/templates/mellanox.com_v1alpha1_nicclusterpolicy_cr.yaml index ca0938de1..d3921c26d 100644 --- a/deployment/network-operator/templates/mellanox.com_v1alpha1_nicclusterpolicy_cr.yaml +++ b/deployment/network-operator/templates/mellanox.com_v1alpha1_nicclusterpolicy_cr.yaml @@ -184,6 +184,8 @@ spec: repository: {{ .Values.nvIpam.repository }} version: {{ .Values.nvIpam.version }} imagePullSecrets: {{ include "network-operator.nvIpam.imagePullSecrets" . | nindent 4 }} + {{- if .Values.nvIpam.config | empty | not }} config: {{ .Values.nvIpam.config | quote }} + {{- end }} {{- end }} {{ end }} diff --git a/deployment/network-operator/values.yaml b/deployment/network-operator/values.yaml index 6d39160ec..87d834e1f 100644 --- a/deployment/network-operator/values.yaml +++ b/deployment/network-operator/values.yaml @@ -232,7 +232,7 @@ nvIpam: version: v0.0.2 # imagePullSecrets: [] # network pool configuration as described in https://github.com/Mellanox/nvidia-k8s-ipam - config: '' + # config: '' secondaryNetwork: deploy: true @@ -248,7 +248,7 @@ secondaryNetwork: repository: ghcr.io/k8snetworkplumbingwg version: v3.9.3 # imagePullSecrets: [] - config: '' + # config: '' ipoib: deploy: false image: ipoib-cni