Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
miampf committed Nov 14, 2024
1 parent a7c7897 commit df7f381
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions packages/by-name/k8s-log-collector/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
findutils,
bash,
gnutar,
gzip
gzip,
}:

let
Expand Down Expand Up @@ -48,7 +48,7 @@ dockerTools.buildImage {
tag = "0.1.0";
copyToRoot = buildEnv {
name = "bin";
paths = [
paths = [
bash
coreutils
gnutar
Expand All @@ -58,6 +58,8 @@ dockerTools.buildImage {
};
config = {
Cmd = [ "${collection-script}/bin/collect-logs" ];
Volumes = { "/logs" = {}; };
Volumes = {
"/logs" = { };
};
};
}
2 changes: 1 addition & 1 deletion packages/log-collector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ apiVersion: apps/v1
kind: DaemonSet
metadata:
name: log-collector
namespace: @@NAMESPACE@@
namespace: "@@NAMESPACE@@"
spec:
selector:
matchLabels:
Expand Down
2 changes: 1 addition & 1 deletion packages/scripts.nix
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@
# Usage: get-logs $namespaceFile
get-logs = writeShellApplication {
name = "get-logs";
runtimeInputs = with pkgs; [
runtimeInputs = with pkgs; [
kubectl
];
text = ''
Expand Down

0 comments on commit df7f381

Please sign in to comment.