Commit 1856e7e4 authored by Joris Bolsens's avatar Joris Bolsens
Browse files

nixos/kubernetes: use correct `-o` option with bash install when copying certs...

nixos/kubernetes: use correct `-o` option with bash install when copying certs in cfssl prestart script
parent 8f9789aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -174,7 +174,7 @@ in
      '')
      (optionalString cfg.genCfsslAPIToken ''
        if [ ! -f "${cfsslAPITokenPath}" ]; then
          install -u cfssl -m 400 <(head -c ${toString (cfsslAPITokenLength / 2)} /dev/urandom | od -An -t x | tr -d ' ') "${cfsslAPITokenPath}"
          install -o cfssl -m 400 <(head -c ${toString (cfsslAPITokenLength / 2)} /dev/urandom | od -An -t x | tr -d ' ') "${cfsslAPITokenPath}"
        fi
      '')]);