Skip to content

Commit

Permalink
Merge pull request #78 from banjoh/em/resovl.conf
Browse files Browse the repository at this point in the history
Collect /etc/resolv.conf inside a pod
  • Loading branch information
chris-sanders authored Sep 7, 2023
2 parents 7b5cb2d + bdee4d6 commit 32fbc62
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions host/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,14 @@ spec:
collectorName: "localhost-ips"
command: "sh"
args: ["-c", "host localhost"]
- runPod:
name: resolv.conf
podSpec:
containers:
- name: resolv-conf
image: alpine
command: ["sh", "-c", "cat /etc/resolv.conf"]
restartPolicy: Never
hostAnalyzers:
- certificate:
collectorName: k8s-api-keypair
Expand Down

0 comments on commit 32fbc62

Please sign in to comment.