mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-22 03:53:47 +00:00
nixos/kubernetes: fix containerd settings
mkDefault must be applied to each setting individually, otherwise a single change to `containerd.settings` replaces the whole attribute set.
This commit is contained in:
parent
b6fbbe768d
commit
6de529c64a
@ -253,7 +253,7 @@ in {
|
||||
(mkIf cfg.kubelet.enable {
|
||||
virtualisation.containerd = {
|
||||
enable = mkDefault true;
|
||||
settings = mkDefault defaultContainerdSettings;
|
||||
settings = mapAttrsRecursive (name: mkDefault) defaultContainerdSettings;
|
||||
};
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user