Grafana deployment config
A basic deployment of Grafana that overrides the existing image, readiness and securityContext.
---
apiVersion: grafana.integreatly.org/v1beta1
kind: Grafana
metadata:
name: grafana
labels:
dashboards: "grafana"
spec:
config:
security:
admin_user: root
admin_password: secret
deployment:
spec:
template:
spec:
containers:
- name: grafana
securityContext:
# Customize this in case your volume provider needs specific UIDs/GIDs
runAsUser: 1001
runAsGroup: 1001
runAsNonRoot: true
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
readinessProbe:
failureThreshold: 3