Fix trailing line break in kubernetes encryption config.

This commit is contained in:
Tom Alexander 2025-12-27 21:22:06 -05:00 committed by Tom Alexander
parent e9a8f78342
commit e364c6bafd
Signed by: talexander
GPG Key ID: 36C99E8B3C39D85F

View File

@ -16,7 +16,7 @@
let let
to_yaml_file = ((import ../../../functions/to_yaml.nix) {inherit pkgs;}).to_yaml_file; to_yaml_file = ((import ../../../functions/to_yaml.nix) {inherit pkgs;}).to_yaml_file;
kube_encryption_key = runCommand "kube_encryption_key" { } '' 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 = { kube_encryption_config = {
kind = "EncryptionConfig"; kind = "EncryptionConfig";