k8s: convert int to string to avoid interpolation error
This commit is contained in:
parent
048114eb4f
commit
bf4be8f1dd
@ -45,7 +45,7 @@ let
|
||||
cniConfig = pkgs.buildEnv {
|
||||
name = "kubernetes-cni-config";
|
||||
paths = imap (i: entry:
|
||||
pkgs.writeTextDir "${10+i}-${entry.type}.conf" (builtins.toJSON entry)
|
||||
pkgs.writeTextDir "${toString (10+i)}-${entry.type}.conf" (builtins.toJSON entry)
|
||||
) cfg.kubelet.cni.config;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user