Fix trailing line break in kubernetes encryption config.

This commit is contained in:
Tom Alexander
2025-12-27 21:22:06 -05:00
parent 20ecabb7fc
commit 1699977503

View File

@@ -16,7 +16,7 @@
let
to_yaml_file = ((import ../../../functions/to_yaml.nix) {inherit pkgs;}).to_yaml_file;
kube_encryption_key = runCommand "kube_encryption_key" { } ''
head -c 32 /dev/urandom | base64 | tee $out
head -c 32 /dev/urandom | base64 -w 0 | tee $out
'';
kube_encryption_config = {
kind = "EncryptionConfig";