aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/namespaces/monitoring/grafana/configmap-ldap.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/namespaces/monitoring/grafana/configmap-ldap.yaml')
-rw-r--r--kubernetes/namespaces/monitoring/grafana/configmap-ldap.yaml14
1 files changed, 14 insertions, 0 deletions
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"