Skip to content

Commit

Permalink
Remove unused /var/tmp directory from liveness probe
Browse files Browse the repository at this point in the history
  • Loading branch information
Sohamdg081992 committed Nov 17, 2023
1 parent 9c56457 commit c1a3cc6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions internal/referenceapp/linux-https-scrape-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ scrape_configs:
scheme: https
scrape_interval: 60s
tls_config:
ca_file: /var/tmp/client-cert.pem
cert_file: /var/tmp/client-cert.pem
key_file: /var/tmp/client-key.pem
ca_file: /etc/prometheus/certs/client-cert.pem
cert_file: /etc/prometheus/certs/client-cert.pem
key_file: /etc/prometheus/certs/client-key.pem
insecure_skip_verify: false
kubernetes_sd_configs:
- role: pod
Expand Down
2 changes: 1 addition & 1 deletion otelcollector/scripts/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ source /opt/logger.sh

#Run inotify as a daemon to track changes to the mounted configmap.
touch /opt/inotifyoutput.txt
inotifywait /etc/config/settings /etc/prometheus/certs /var/tmp --daemon --recursive --outfile "/opt/inotifyoutput.txt" --event create,delete --format '%e : %T' --timefmt '+%s'
inotifywait /etc/config/settings /etc/prometheus/certs --daemon --recursive --outfile "/opt/inotifyoutput.txt" --event create,delete --format '%e : %T' --timefmt '+%s'

# Run ARC EULA utility
source /opt/arc-eula.sh
Expand Down

0 comments on commit c1a3cc6

Please sign in to comment.