Skip to content

Commit 70c4fe3

Browse files
committed
monitoring: turn off useless grafana auth
1 parent 0c4f26f commit 70c4fe3

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

monitoring/grafana-auth.patch.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
name: grafana
5+
namespace: monitoring
6+
spec:
7+
template:
8+
spec:
9+
containers:
10+
- name: grafana
11+
env:
12+
- name: GF_AUTH_ANONYMOUS_ENABLED
13+
value: "true"
14+
- name: GF_AUTH_ANONYMOUS_ORG_ROLE
15+
value: Editor

monitoring/kustomization.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ resources:
1111
patches:
1212
- container-images.patch.yaml
1313
- cluster-wide.patch.yaml
14+
- grafana-auth.patch.yaml
1415
- grafana-sidecar.patch.yaml
1516
- prometheus-additional-scrape-configs.patch.yaml
1617
- prometheus-persistent-volume.patch.yaml

0 commit comments

Comments
 (0)