Skip to content

Commit

Permalink
Current grafana & loki
Browse files Browse the repository at this point in the history
  • Loading branch information
solsson committed Aug 9, 2021
1 parent c5aa774 commit 0a683f2
Show file tree
Hide file tree
Showing 23 changed files with 45 additions and 44 deletions.
4 changes: 2 additions & 2 deletions logs/grafana/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
labels:
helm.sh/chart: grafana-6.13.2
helm.sh/chart: grafana-6.15.0
app.kubernetes.io/name: grafana
app.kubernetes.io/instance: logs
app.kubernetes.io/version: "8.0.3"
app.kubernetes.io/version: "8.1.0"
app.kubernetes.io/managed-by: Helm
name: logs-grafana-clusterrole
rules: []
4 changes: 2 additions & 2 deletions logs/grafana/templates/clusterrolebinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: logs-grafana-clusterrolebinding
labels:
helm.sh/chart: grafana-6.13.2
helm.sh/chart: grafana-6.15.0
app.kubernetes.io/name: grafana
app.kubernetes.io/instance: logs
app.kubernetes.io/version: "8.0.3"
app.kubernetes.io/version: "8.1.0"
app.kubernetes.io/managed-by: Helm
subjects:
- kind: ServiceAccount
Expand Down
4 changes: 2 additions & 2 deletions logs/grafana/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ metadata:
name: logs-grafana
namespace: monitoring
labels:
helm.sh/chart: grafana-6.13.2
helm.sh/chart: grafana-6.15.0
app.kubernetes.io/name: grafana
app.kubernetes.io/instance: logs
app.kubernetes.io/version: "8.0.3"
app.kubernetes.io/version: "8.1.0"
app.kubernetes.io/managed-by: Helm
data:
grafana.ini: |
Expand Down
10 changes: 6 additions & 4 deletions logs/grafana/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ metadata:
name: logs-grafana
namespace: monitoring
labels:
helm.sh/chart: grafana-6.13.2
helm.sh/chart: grafana-6.15.0
app.kubernetes.io/name: grafana
app.kubernetes.io/instance: logs
app.kubernetes.io/version: "8.0.3"
app.kubernetes.io/version: "8.1.0"
app.kubernetes.io/managed-by: Helm
spec:
replicas: 1
Expand All @@ -26,19 +26,21 @@ spec:
app.kubernetes.io/name: grafana
app.kubernetes.io/instance: logs
annotations:
checksum/config: 5844636c1e91646001a9af13040bc02f6e7755ec82b20355b46cbb1275a6b8cb
checksum/config: 825a5aeb7a150bd0055851a2bc93f475e5feb0182592bf0f437c178942f00dbe
checksum/dashboards-json-config: 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b
checksum/sc-dashboard-provider-config: 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b
spec:

serviceAccountName: logs-grafana
automountServiceAccountToken: true
securityContext:
fsGroup: 472
runAsGroup: 472
runAsUser: 472
enableServiceLinks: true
containers:
- name: grafana
image: "grafana/grafana:8.0.3"
image: "grafana/grafana:8.1.0"
imagePullPolicy: IfNotPresent
volumeMounts:
- name: config
Expand Down
5 changes: 2 additions & 3 deletions logs/grafana/templates/podsecuritypolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
name: logs-grafana
namespace: monitoring
labels:
helm.sh/chart: grafana-6.13.2
helm.sh/chart: grafana-6.15.0
app.kubernetes.io/name: grafana
app.kubernetes.io/instance: logs
app.kubernetes.io/version: "8.0.3"
app.kubernetes.io/version: "8.1.0"
app.kubernetes.io/managed-by: Helm
annotations:
seccomp.security.alpha.kubernetes.io/allowedProfileNames: 'docker/default,runtime/default'
Expand Down
4 changes: 2 additions & 2 deletions logs/grafana/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ metadata:
name: logs-grafana
namespace: monitoring
labels:
helm.sh/chart: grafana-6.13.2
helm.sh/chart: grafana-6.15.0
app.kubernetes.io/name: grafana
app.kubernetes.io/instance: logs
app.kubernetes.io/version: "8.0.3"
app.kubernetes.io/version: "8.1.0"
app.kubernetes.io/managed-by: Helm
rules:
- apiGroups: ['extensions']
Expand Down
4 changes: 2 additions & 2 deletions logs/grafana/templates/rolebinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ metadata:
name: logs-grafana
namespace: monitoring
labels:
helm.sh/chart: grafana-6.13.2
helm.sh/chart: grafana-6.15.0
app.kubernetes.io/name: grafana
app.kubernetes.io/instance: logs
app.kubernetes.io/version: "8.0.3"
app.kubernetes.io/version: "8.1.0"
app.kubernetes.io/managed-by: Helm
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand Down
4 changes: 2 additions & 2 deletions logs/grafana/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ metadata:
name: logs-grafana
namespace: monitoring
labels:
helm.sh/chart: grafana-6.13.2
helm.sh/chart: grafana-6.15.0
app.kubernetes.io/name: grafana
app.kubernetes.io/instance: logs
app.kubernetes.io/version: "8.0.3"
app.kubernetes.io/version: "8.1.0"
app.kubernetes.io/managed-by: Helm
spec:
type: ClusterIP
Expand Down
4 changes: 2 additions & 2 deletions logs/grafana/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ apiVersion: v1
kind: ServiceAccount
metadata:
labels:
helm.sh/chart: grafana-6.13.2
helm.sh/chart: grafana-6.15.0
app.kubernetes.io/name: grafana
app.kubernetes.io/instance: logs
app.kubernetes.io/version: "8.0.3"
app.kubernetes.io/version: "8.1.0"
app.kubernetes.io/managed-by: Helm
name: logs-grafana
namespace: monitoring
4 changes: 2 additions & 2 deletions logs/grafana/templates/tests/test-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ metadata:
name: logs-grafana-test
namespace: monitoring
labels:
helm.sh/chart: grafana-6.13.2
helm.sh/chart: grafana-6.15.0
app.kubernetes.io/name: grafana
app.kubernetes.io/instance: logs
app.kubernetes.io/version: "8.0.3"
app.kubernetes.io/version: "8.1.0"
app.kubernetes.io/managed-by: Helm
data:
run.sh: |-
Expand Down
5 changes: 2 additions & 3 deletions logs/grafana/templates/tests/test-podsecuritypolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
name: logs-grafana-test
namespace: monitoring
labels:
helm.sh/chart: grafana-6.13.2
helm.sh/chart: grafana-6.15.0
app.kubernetes.io/name: grafana
app.kubernetes.io/instance: logs
app.kubernetes.io/version: "8.0.3"
app.kubernetes.io/version: "8.1.0"
app.kubernetes.io/managed-by: Helm
spec:
allowPrivilegeEscalation: true
Expand Down
4 changes: 2 additions & 2 deletions logs/grafana/templates/tests/test-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ metadata:
name: logs-grafana-test
namespace: monitoring
labels:
helm.sh/chart: grafana-6.13.2
helm.sh/chart: grafana-6.15.0
app.kubernetes.io/name: grafana
app.kubernetes.io/instance: logs
app.kubernetes.io/version: "8.0.3"
app.kubernetes.io/version: "8.1.0"
app.kubernetes.io/managed-by: Helm
rules:
- apiGroups: ['policy']
Expand Down
4 changes: 2 additions & 2 deletions logs/grafana/templates/tests/test-rolebinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ metadata:
name: logs-grafana-test
namespace: monitoring
labels:
helm.sh/chart: grafana-6.13.2
helm.sh/chart: grafana-6.15.0
app.kubernetes.io/name: grafana
app.kubernetes.io/instance: logs
app.kubernetes.io/version: "8.0.3"
app.kubernetes.io/version: "8.1.0"
app.kubernetes.io/managed-by: Helm
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand Down
4 changes: 2 additions & 2 deletions logs/grafana/templates/tests/test-serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ apiVersion: v1
kind: ServiceAccount
metadata:
labels:
helm.sh/chart: grafana-6.13.2
helm.sh/chart: grafana-6.15.0
app.kubernetes.io/name: grafana
app.kubernetes.io/instance: logs
app.kubernetes.io/version: "8.0.3"
app.kubernetes.io/version: "8.1.0"
app.kubernetes.io/managed-by: Helm
name: logs-grafana-test
namespace: monitoring
4 changes: 2 additions & 2 deletions logs/grafana/templates/tests/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ kind: Pod
metadata:
name: logs-grafana-test
labels:
helm.sh/chart: grafana-6.13.2
helm.sh/chart: grafana-6.15.0
app.kubernetes.io/name: grafana
app.kubernetes.io/instance: logs
app.kubernetes.io/version: "8.0.3"
app.kubernetes.io/version: "8.1.0"
app.kubernetes.io/managed-by: Helm
annotations:
"helm.sh/hook": test-success
Expand Down
2 changes: 1 addition & 1 deletion logs/loki/templates/podsecuritypolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
name: logs-loki
labels:
app: loki
chart: loki-2.5.0
chart: loki-2.6.0
heritage: Helm
release: logs
spec:
Expand Down
2 changes: 1 addition & 1 deletion logs/loki/templates/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
namespace: monitoring
labels:
app: loki
chart: loki-2.5.0
chart: loki-2.6.0
heritage: Helm
release: logs
rules:
Expand Down
2 changes: 1 addition & 1 deletion logs/loki/templates/rolebinding.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
namespace: monitoring
labels:
app: loki
chart: loki-2.5.0
chart: loki-2.6.0
heritage: Helm
release: logs
roleRef:
Expand Down
2 changes: 1 addition & 1 deletion logs/loki/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
namespace: monitoring
labels:
app: loki
chart: loki-2.5.0
chart: loki-2.6.0
release: logs
heritage: Helm
data:
Expand Down
2 changes: 1 addition & 1 deletion logs/loki/templates/service-headless.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
namespace: monitoring
labels:
app: loki
chart: loki-2.5.0
chart: loki-2.6.0
release: logs
heritage: Helm
variant: headless
Expand Down
2 changes: 1 addition & 1 deletion logs/loki/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
namespace: monitoring
labels:
app: loki
chart: loki-2.5.0
chart: loki-2.6.0
release: logs
heritage: Helm
annotations:
Expand Down
3 changes: 2 additions & 1 deletion logs/loki/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ kind: ServiceAccount
metadata:
labels:
app: loki
chart: loki-2.5.0
chart: loki-2.6.0
heritage: Helm
release: logs
annotations:
{}
name: logs-loki
namespace: monitoring
automountServiceAccountToken: true
6 changes: 3 additions & 3 deletions logs/loki/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
namespace: monitoring
labels:
app: loki
chart: loki-2.5.0
chart: loki-2.6.0
release: logs
heritage: Helm
annotations:
Expand All @@ -29,7 +29,7 @@ spec:
name: loki
release: logs
annotations:
checksum/config: cb7caf3124e7dd3ef4fd802d4aa1dbecd94b164b9581c01faf50b6d3c0507551
checksum/config: f7402f9775076322ee1fd426648bbccddc4c74fd7c6afaca960b015e23ee25ca
prometheus.io/port: http-metrics
prometheus.io/scrape: "true"
spec:
Expand All @@ -43,7 +43,7 @@ spec:
[]
containers:
- name: loki
image: "grafana/loki:2.2.0"
image: "grafana/loki:2.3.0"
imagePullPolicy: IfNotPresent
args:
- "-config.file=/etc/loki/loki.yaml"
Expand Down

0 comments on commit 0a683f2

Please sign in to comment.