Skip to content

Commit

Permalink
Support optional config in helm chart
Browse files Browse the repository at this point in the history
Signed-off-by: adrianc <adrianc@nvidia.com>
  • Loading branch information
adrianchiris committed May 23, 2023
1 parent e07006f commit 871d33f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
4 changes: 2 additions & 2 deletions deployment/network-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: '<uncomment and put config here>'

secondaryNetwork:
deploy: true
Expand All @@ -248,7 +248,7 @@ secondaryNetwork:
repository: ghcr.io/k8snetworkplumbingwg
version: v3.9.3
# imagePullSecrets: []
config: ''
# config: ''
ipoib:
deploy: false
image: ipoib-cni
Expand Down

0 comments on commit 871d33f

Please sign in to comment.