diff options
author | Bernardo Meurer <bernardo@meurer.org> | 2023-03-16 11:10:22 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-16 11:10:22 -0300 |
commit | 6e557333593580724cbe070ef0ab8f46f8faf49d (patch) | |
tree | 9a74711c5858544e70c1d998d2be77a8b77e0881 /nixos/modules/services/cluster | |
parent | fe49120d973443e308ba531f4cfb1ce0a7e89a54 (diff) | |
parent | d10e69c86bcd415f5c4347d3c6b981241e913465 (diff) |
Merge pull request #219747 from Stunkymonkey/deprecate-isNull
Diffstat (limited to 'nixos/modules/services/cluster')
-rw-r--r-- | nixos/modules/services/cluster/kubernetes/pki.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/cluster/kubernetes/pki.nix b/nixos/modules/services/cluster/kubernetes/pki.nix index 26fe0f5e9e09..38682701ea15 100644 --- a/nixos/modules/services/cluster/kubernetes/pki.nix +++ b/nixos/modules/services/cluster/kubernetes/pki.nix @@ -270,7 +270,7 @@ in ''; })]); - environment.etc.${cfg.etcClusterAdminKubeconfig}.source = mkIf (!isNull cfg.etcClusterAdminKubeconfig) + environment.etc.${cfg.etcClusterAdminKubeconfig}.source = mkIf (cfg.etcClusterAdminKubeconfig != null) clusterAdminKubeconfig; environment.systemPackages = mkIf (top.kubelet.enable || top.proxy.enable) [ |