Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hostNetwork option #16

Merged
merged 1 commit into from
Oct 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/kured/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
appVersion: "1.10.2"
description: A Helm chart for kured
name: kured
version: 4.0.3
version: 4.0.4
home: https://github.com/kubereboot/kured
maintainers:
- name: ckotzbauer
Expand Down
1 change: 1 addition & 0 deletions charts/kured/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ The following changes have been made compared to the stable chart:
| `priorityClassName` | Priority Class to be used by the pods | `""` |
| `tolerations` | Tolerations to apply to the daemonset (eg to allow running on master) | `[{"key": "node-role.kubernetes.io/control-plane", "effect": "NoSchedule"}]` for Kubernetes 1.24.0 and greater, otherwise `[{"key": "node-role.kubernetes.io/master", "effect": "NoSchedule"}]`|
| `affinity` | Affinity for the daemonset (ie, restrict which nodes kured runs on) | `{}` |
| `hostNetwork` | Pod uses the host network instead of the cluster network | `true` |
| `nodeSelector` | Node Selector for the daemonset (ie, restrict which nodes kured runs on) | `{}` |
| `volumeMounts` | Maps of volumes mount to mount | `{}` |
| `volumes` | Maps of volumes to mount | `{}` |
Expand Down
1 change: 1 addition & 0 deletions charts/kured/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ spec:
{{- end }}
spec:
serviceAccountName: {{ template "kured.serviceAccountName" . }}
hostNetwork: {{ .Values.hostNetwork }}
hostPID: true
restartPolicy: Always
{{- with .Values.image.pullSecrets }}
Expand Down
2 changes: 2 additions & 0 deletions charts/kured/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ containerSecurityContext:

resources: {}

hostNetwork: true

metrics:
create: false
namespace: ""
Expand Down