rpi: tweak k3s
This commit is contained in:
parent
a464a797a8
commit
f2ec867e0e
|
@ -88,7 +88,7 @@
|
||||||
# ExecStartPre = /bin/sh - xc '! /usr/bin/systemctl is-enabled --quiet nm-cloud-setup.service 2>/dev/null';
|
# ExecStartPre = /bin/sh - xc '! /usr/bin/systemctl is-enabled --quiet nm-cloud-setup.service 2>/dev/null';
|
||||||
# ExecStartPre = -/sbin/modprobe br_netfilter;
|
# ExecStartPre = -/sbin/modprobe br_netfilter;
|
||||||
# ExecStartPre = -/sbin/modprobe overlay;
|
# ExecStartPre = -/sbin/modprobe overlay;
|
||||||
ExecStart = "${pkgs.k3s}/bin/k3s server --write-kubeconfig-mode";
|
ExecStart = "${pkgs.k3s}/bin/k3s server --write-kubeconfig-mode=644";
|
||||||
};
|
};
|
||||||
after = [ "network-online.target" ];
|
after = [ "network-online.target" ];
|
||||||
wants = [ "network-online.target" ];
|
wants = [ "network-online.target" ];
|
||||||
|
@ -116,7 +116,6 @@
|
||||||
pulumiPackages.pulumi-language-nodejs
|
pulumiPackages.pulumi-language-nodejs
|
||||||
slirp4netns # required by k3s
|
slirp4netns # required by k3s
|
||||||
vim
|
vim
|
||||||
wget
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Some programs need SUID wrappers, can be configured further or are
|
# Some programs need SUID wrappers, can be configured further or are
|
||||||
|
|
Loading…
Reference in New Issue