summary refs log tree commit diff
path: root/nixos/modules/services/cluster/kubernetes/pki.nix
diff options
context:
space:
mode:
authorAlexandru Scvortov <code@scvalex.net>2021-07-27 16:11:32 +0100
committerAlexandru Scvortov <code@scvalex.net>2021-07-28 11:27:22 +0100
commitb9acd426df4b1ae98da24f1a973968f83f5dcb19 (patch)
tree8af13219bae34e4f5f9843b89e39ab1c048458e1 /nixos/modules/services/cluster/kubernetes/pki.nix
parent52168faa5b189ef26bd8d0dff9a226a4618dd4e9 (diff)
downloadnixpkgs-b9acd426df4b1ae98da24f1a973968f83f5dcb19.tar
nixpkgs-b9acd426df4b1ae98da24f1a973968f83f5dcb19.tar.gz
nixpkgs-b9acd426df4b1ae98da24f1a973968f83f5dcb19.tar.bz2
nixpkgs-b9acd426df4b1ae98da24f1a973968f83f5dcb19.tar.lz
nixpkgs-b9acd426df4b1ae98da24f1a973968f83f5dcb19.tar.xz
nixpkgs-b9acd426df4b1ae98da24f1a973968f83f5dcb19.tar.zst
nixpkgs-b9acd426df4b1ae98da24f1a973968f83f5dcb19.zip
kubernetes: add passthru tests
Also defensively quote a path and reformat a comment to trigger the
right review.
Diffstat (limited to 'nixos/modules/services/cluster/kubernetes/pki.nix')
-rw-r--r--nixos/modules/services/cluster/kubernetes/pki.nix2
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 d9311d3e3a0..faf951d8157 100644
--- a/nixos/modules/services/cluster/kubernetes/pki.nix
+++ b/nixos/modules/services/cluster/kubernetes/pki.nix
@@ -189,7 +189,7 @@ in
         # manually paste it in place. Just symlink.
         # otherwise, create the target file, ready for users to insert the token
 
-        mkdir -p $(dirname ${certmgrAPITokenPath})
+        mkdir -p "$(dirname "${certmgrAPITokenPath}")"
         if [ -f "${cfsslAPITokenPath}" ]; then
           ln -fs "${cfsslAPITokenPath}" "${certmgrAPITokenPath}"
         else