From 2123cbaca076b9979ec8a87e0b039dd14b0e8a93 Mon Sep 17 00:00:00 2001 From: Kapil Rastogi Date: Wed, 20 Jan 2021 16:38:58 +0530 Subject: [PATCH] Pitchfork validations to prevent spans with null or disordered time --- .../kubernetes/pitchfork/templates/deployment.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/deployment/terraform/modules/haystack-apps/kubernetes/pitchfork/templates/deployment.yaml b/deployment/terraform/modules/haystack-apps/kubernetes/pitchfork/templates/deployment.yaml index 82301657c..1071b3009 100644 --- a/deployment/terraform/modules/haystack-apps/kubernetes/pitchfork/templates/deployment.yaml +++ b/deployment/terraform/modules/haystack-apps/kubernetes/pitchfork/templates/deployment.yaml @@ -41,7 +41,11 @@ spec: - name: "PITCHFORK_FORWARDERS_LOGGING_LOG_FULL_SPAN" value: "${logging_span_enabled}" - name: "PITCHFORK_FORWARDERS_HAYSTACK_KAFKA_TOPIC" - value: "${kafka_topic}" + value: "${kafka_topic}" + - name: "PITCHFORK_VALIDATORS_MAX_TIMESTAMP_DRIFT_SECONDS" + value: "86400" + - name: "PITCHFORK_VALIDATORS_ACCEPT_NULL_TIMESTAMPS" + value: "false" ${env_vars} livenessProbe: httpGet: