Skip to content

Commit

Permalink
fix: exclude kubeconfig from aks-log-collector archive (#4074)
Browse files Browse the repository at this point in the history
Remove kubeconfig from aks-log-collector glob list to stop triggering Azure Defender for Containers.
  • Loading branch information
phealy authored Feb 15, 2024
1 parent 7ab28e9 commit d1d83d9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion parts/linux/cloud-init/artifacts/aks-log-collector.sh
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ GLOBS+=(/etc/cni/net.d/*)
GLOBS+=(/etc/containerd/*)
GLOBS+=(/etc/default/kubelet)
GLOBS+=(/etc/kubernetes/manifests/*)
GLOBS+=(/var/lib/kubelet/kubeconfig)
GLOBS+=(/var/log/azure-cni*)
GLOBS+=(/var/log/azure-cns*)
GLOBS+=(/var/log/azure-ipam*)
Expand Down
1 change: 0 additions & 1 deletion pkg/templates/templates_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d1d83d9

Please sign in to comment.