Skip to content

Commit

Permalink
add hostNetwork to rufio
Browse files Browse the repository at this point in the history
Signed-off-by: sepauli <[email protected]>
  • Loading branch information
sepauli committed Jun 18, 2024
1 parent 89cd621 commit 254af78
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tinkerbell/rufio/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ spec:
control-plane: controller-manager
stack: tinkerbell
spec:
{{- if .Values.hostNetwork }}
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
1 change: 1 addition & 0 deletions tinkerbell/rufio/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ managerRoleName: rufio-manager-role
rufioLeaderElectionRoleBindingName: rufio-leader-election-rolebinding
managerRoleBindingName: rufio-manager-rolebinding
nodeSelector: {}
hostNetwork: false
# singleNodeClusterConfig to add tolerations for deployments on control plane nodes. This is defaulted to false.
singleNodeClusterConfig:
controlPlaneTolerationsEnabled: false
Expand Down

0 comments on commit 254af78

Please sign in to comment.