Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions grafana/grafana-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
component: core
spec:
containers:
- image: grafana/grafana:4.2.0
- image: grafana/grafana:latest
name: grafana-core
imagePullPolicy: IfNotPresent
# env:
Expand Down Expand Up @@ -44,9 +44,14 @@ spec:
port: 3000
# initialDelaySeconds: 30
# timeoutSeconds: 1
initContainers:
- name: "init-chown-data"
image: "busybox:latest"
imagePullPolicy: "IfNotPresent"
command: ["chown", "-R", "472:472", "/var/lib/grafana/"]
volumeMounts:
- name: grafana-persistent-storage
mountPath: /var
mountPath: /var/lib/grafana/
volumes:
- name: grafana-persistent-storage
emptyDir: {}