From 917be1b5cffe3ec24659ba878fd9f494f6b0460d Mon Sep 17 00:00:00 2001
From: Varac <varac@varac.net>
Date: Fri, 30 Jul 2021 11:09:11 +0200
Subject: [PATCH] Enforce python requests using the system cert store

---
 .gitlab-ci.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ab8dea1b5..58fe4c6da 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -835,6 +835,9 @@ kube-prometheus-stack-alerts:
   variables:
     # RESOURCE var is used in job specific rules (i.e. .kube_prometheus_stack_rules)
     RESOURCE: "kube-prometheus-stack"
+    # Enforce python requests using the system cert store, where LE staging
+    # cacert is added
+    REQUESTS_CA_BUNDLE: "/etc/ssl/certs/ca-certificates.crt"
   allow_failure: true
   script:
     - *debug_information
-- 
GitLab