From cc451840f37fae5c19c5733c7fd9ec685485d2b0 Mon Sep 17 00:00:00 2001
From: Matthias Loibl <mail@matthiasloibl.com>
Date: Mon, 12 Nov 2018 11:34:27 +0100
Subject: [PATCH] contrib/kube-prometheus: Update manifests with /tmp emptyDir
 for adapter

---
 jsonnetfile.lock.json                        | 2 +-
 manifests/prometheus-adapter-deployment.yaml | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/jsonnetfile.lock.json b/jsonnetfile.lock.json
index acac2b15..2dace0bd 100644
--- a/jsonnetfile.lock.json
+++ b/jsonnetfile.lock.json
@@ -8,7 +8,7 @@
                     "subdir": "contrib/kube-prometheus/jsonnet/kube-prometheus"
                 }
             },
-            "version": "556153e077ed61c4567ae1aa920903d2c7920c23"
+            "version": "5185231304f688cf127bf235a4dfdf9f4f9e7821"
         },
         {
             "name": "ksonnet",
diff --git a/manifests/prometheus-adapter-deployment.yaml b/manifests/prometheus-adapter-deployment.yaml
index f7caa2d2..9d28503c 100644
--- a/manifests/prometheus-adapter-deployment.yaml
+++ b/manifests/prometheus-adapter-deployment.yaml
@@ -26,6 +26,9 @@ spec:
         ports:
         - containerPort: 6443
         volumeMounts:
+        - mountPath: /tmp
+          name: tmpfs
+          readOnly: false
         - mountPath: /var/run/serving-cert
           name: volume-serving-cert
           readOnly: false
@@ -34,6 +37,8 @@ spec:
           readOnly: false
       serviceAccountName: prometheus-adapter
       volumes:
+      - emptyDir: {}
+        name: tmpfs
       - emptyDir: {}
         name: volume-serving-cert
       - configMap:
-- 
GitLab