Skip to content

Commit

Permalink
fix: Allow to enable SR-IOV Network Operator Webhook
Browse files Browse the repository at this point in the history
We need to take into account SR-IOV Network Operator help values
during SriovOperatorConfig deployment.

Signed-off-by: Ivan Kolodiazhnyi <[email protected]>
  • Loading branch information
e0ne committed Nov 13, 2023
1 parent 6ac7efa commit fde84bf
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ metadata:
namespace: {{ .Release.Namespace }}
spec:
# Add fields here
{{- with (index .Values "sriov-network-operator" "operator") }}
enableInjector: {{ .enableAdmissionController }}
enableOperatorWebhook: {{ .enableAdmissionController }}
{{- end }}
enableInjector: false
enableOperatorWebhook: false
configDaemonNodeSelector:
Expand Down

0 comments on commit fde84bf

Please sign in to comment.