From fb586de23b05b69ea270e4d3a59bea419d57178e Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Fri, 26 Jul 2024 01:19:33 +0100 Subject: Add new Grafana LDAP config and ldap.toml config --- .../namespaces/monitoring/grafana/configmap-ldap.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 kubernetes/namespaces/monitoring/grafana/configmap-ldap.yaml (limited to 'kubernetes/namespaces/monitoring/grafana/configmap-ldap.yaml') diff --git a/kubernetes/namespaces/monitoring/grafana/configmap-ldap.yaml b/kubernetes/namespaces/monitoring/grafana/configmap-ldap.yaml new file mode 100644 index 0000000..266bf7d --- /dev/null +++ b/kubernetes/namespaces/monitoring/grafana/configmap-ldap.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: ConfigMap +metadata: + name: grafana-ldap + namespace: monitoring +data: + # Enable LDAP Auth + GF_AUTH_LDAP_ENABLED: "true" + + # Set config file to the LDAP toml we mount in + GF_AUTH_LDAP_CONFIG_FILE: "/opt/pydis/grafana-ldap.toml" + + # Allow new users to be created from LDAP data + GF_AUTH_LDAP_ALLOW_SIGN_UP: "true" -- cgit v1.2.3