347ba42866
benefit is replacing inline strings in yaml with proper files locally while still just deploying a single file to the remote host.
21 lines
385 B
YAML
21 lines
385 B
YAML
apiVersion: apps/v1
|
|
kind: DaemonSet
|
|
metadata:
|
|
name: kured
|
|
namespace: kube-system
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
name: kured
|
|
template:
|
|
metadata:
|
|
labels:
|
|
name: kured
|
|
spec:
|
|
serviceAccountName: kured
|
|
containers:
|
|
- name: kured
|
|
command:
|
|
- /usr/bin/kured
|
|
- --reboot-command=/usr/bin/systemctl reboot
|