diff --git a/internal/referenceapp/linux-https-scrape-config.yaml b/internal/referenceapp/linux-https-scrape-config.yaml index 0d81879ee..2cf0da50a 100644 --- a/internal/referenceapp/linux-https-scrape-config.yaml +++ b/internal/referenceapp/linux-https-scrape-config.yaml @@ -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 diff --git a/otelcollector/scripts/main.sh b/otelcollector/scripts/main.sh index bb6dfd9c1..864c98feb 100644 --- a/otelcollector/scripts/main.sh +++ b/otelcollector/scripts/main.sh @@ -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