From f0d8ba64d7a0088d04aa1ad57dbb260381eb1c8b Mon Sep 17 00:00:00 2001
From: Max Leonard Inden <IndenML@gmail.com>
Date: Mon, 21 Jan 2019 17:09:14 +0100
Subject: [PATCH] kube-prometheus: Remove enableAdminAPI configuration option

Manifest generation fails if this option is not set. Instead, remove the
option and require users to patch the object in case they need it.
---
 jsonnet/kube-prometheus/prometheus/prometheus.libsonnet | 1 -
 1 file changed, 1 deletion(-)

diff --git a/jsonnet/kube-prometheus/prometheus/prometheus.libsonnet b/jsonnet/kube-prometheus/prometheus/prometheus.libsonnet
index b9b3810c..89d55bcc 100644
--- a/jsonnet/kube-prometheus/prometheus/prometheus.libsonnet
+++ b/jsonnet/kube-prometheus/prometheus/prometheus.libsonnet
@@ -168,7 +168,6 @@ local k = import 'ksonnet/ksonnet.beta.3/k.libsonnet';
           replicas: $._config.prometheus.replicas,
           version: $._config.versions.prometheus,
           baseImage: $._config.imageRepos.prometheus,
-          enableAdminAPI: $._config.prometheus.enableAdminAPI,
           serviceAccountName: 'prometheus-' + $._config.prometheus.name,
           serviceMonitorSelector: {},
           serviceMonitorNamespaceSelector: {},
-- 
GitLab