diff --git a/packages/by-name/k8s-log-collector/package.nix b/packages/by-name/k8s-log-collector/package.nix index 5a81ccc85..ecd08e6f0 100644 --- a/packages/by-name/k8s-log-collector/package.nix +++ b/packages/by-name/k8s-log-collector/package.nix @@ -10,7 +10,7 @@ findutils, bash, gnutar, - gzip + gzip, }: let @@ -48,7 +48,7 @@ dockerTools.buildImage { tag = "0.1.0"; copyToRoot = buildEnv { name = "bin"; - paths = [ + paths = [ bash coreutils gnutar @@ -58,6 +58,8 @@ dockerTools.buildImage { }; config = { Cmd = [ "${collection-script}/bin/collect-logs" ]; - Volumes = { "/logs" = {}; }; + Volumes = { + "/logs" = { }; + }; }; } diff --git a/packages/log-collector.yaml b/packages/log-collector.yaml index f4f88e1e3..ab31e585d 100644 --- a/packages/log-collector.yaml +++ b/packages/log-collector.yaml @@ -5,7 +5,7 @@ apiVersion: apps/v1 kind: DaemonSet metadata: name: log-collector - namespace: @@NAMESPACE@@ + namespace: "@@NAMESPACE@@" spec: selector: matchLabels: diff --git a/packages/scripts.nix b/packages/scripts.nix index f89772f79..486f7be60 100644 --- a/packages/scripts.nix +++ b/packages/scripts.nix @@ -425,7 +425,7 @@ # Usage: get-logs $namespaceFile get-logs = writeShellApplication { name = "get-logs"; - runtimeInputs = with pkgs; [ + runtimeInputs = with pkgs; [ kubectl ]; text = ''