Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update grafana to version 5.0.7 #90

Open
wants to merge 87 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
c23d3ef
grafana - 3.3.2
Apr 24, 2019
0e488f6
grafana - 3.3.3
Apr 28, 2019
8c91200
grafana - 3.3.4
Apr 29, 2019
b0714c9
grafana - 3.3.5
May 1, 2019
2c998ec
grafana - 3.3.6
May 2, 2019
bc48778
grafana - 3.3.7
May 9, 2019
b0fc898
grafana - 3.3.8
May 16, 2019
352db1c
grafana - 3.3.9
May 23, 2019
8fc278b
grafana - 3.3.10
May 28, 2019
b4d940e
grafana - 3.3.11
Jun 1, 2019
14c7a0e
grafana - 3.4.0
Jun 1, 2019
f133fca
grafana - 3.4.1
Jun 5, 2019
dfc9223
grafana - 3.4.2
Jun 11, 2019
030fc32
grafana - 3.4.3
Jun 17, 2019
e7c8c1e
grafana - 3.5.3
Jun 18, 2019
8b5fe34
grafana - 3.5.4
Jun 18, 2019
ab8d3cf
grafana - 3.5.5
Jun 27, 2019
cab3b1d
grafana - 3.5.6
Jun 28, 2019
a06b014
grafana - 3.5.7
Jul 1, 2019
51ad4fa
grafana - 3.5.8
Jul 8, 2019
4310bd6
grafana - 3.5.10
Jul 10, 2019
bc59023
grafana - 3.5.11
Jul 13, 2019
fa980df
grafana - 3.5.12
Jul 18, 2019
4434bca
grafana - 3.5.13
Jul 20, 2019
b828d07
grafana - 3.6.0
Jul 21, 2019
1a72499
grafana - 3.7.0
Jul 22, 2019
5e64879
grafana - 3.7.1
Jul 23, 2019
23d2624
grafana - 3.7.2
Jul 23, 2019
914055d
grafana - 3.7.3
Jul 24, 2019
a1e3628
grafana - 3.8.0
Aug 5, 2019
8bc8f26
grafana - 3.8.1
Aug 8, 2019
c33bac8
grafana - 3.8.2
Aug 14, 2019
d036d40
grafana - 3.8.3
Aug 14, 2019
62a0881
grafana - 3.8.4
Aug 25, 2019
b4a0c98
grafana - 3.8.5
Aug 29, 2019
a598f5c
grafana - 3.8.6
Sep 1, 2019
9a20cd9
grafana - 3.8.7
Sep 4, 2019
dde50f9
grafana - 3.8.8
Sep 4, 2019
e1e56a7
grafana - 3.8.9
Sep 6, 2019
1f1322f
grafana - 3.8.10
Sep 6, 2019
3f9fe45
grafana - 3.8.11
Sep 9, 2019
5194633
grafana - 3.8.12
Sep 12, 2019
07d990a
grafana - 3.8.13
Sep 15, 2019
6dc213f
grafana - 3.8.14
Sep 17, 2019
f661ff7
grafana - 3.8.15
Sep 21, 2019
875aa3a
grafana - 3.8.16
Oct 2, 2019
e845201
grafana - 3.8.17
Oct 3, 2019
67652b3
grafana - 3.8.18
Oct 4, 2019
d63b033
grafana - 3.8.19
Oct 8, 2019
3e5e4ef
grafana - 3.9.0
Oct 8, 2019
a9078e8
grafana - 3.9.1
Oct 9, 2019
88071fb
grafana - 3.9.2
Oct 9, 2019
bd06a47
grafana - 3.10.0
Oct 10, 2019
a79dcc1
grafana - 3.10.1
Oct 12, 2019
6dbe857
grafana - 3.10.2
Oct 15, 2019
41e6e76
grafana - 3.11.0
Oct 16, 2019
20ffa0e
grafana - 3.11.1
Oct 17, 2019
76eca4b
grafana - 3.12.0
Oct 18, 2019
dba0c3d
grafana - 3.12.1
Oct 19, 2019
23a63ed
grafana - 4.0.0
Oct 24, 2019
5b2385e
grafana - 4.0.2
Nov 8, 2019
2adc678
grafana - 4.0.3
Nov 14, 2019
b43cc50
grafana - 4.0.4
Nov 21, 2019
28ec8e5
grafana - 4.0.5
Nov 30, 2019
d515837
grafana - 4.1.0
Dec 2, 2019
ce93245
grafana - 4.1.1
Dec 6, 2019
7dea0e9
grafana - 4.1.2
Dec 7, 2019
a330a76
grafana - 4.1.3
Dec 8, 2019
2b75642
grafana - 4.2.0
Dec 14, 2019
b87d5b4
grafana - 4.2.1
Dec 17, 2019
87d8741
grafana - 4.2.2
Dec 19, 2019
cd73a5e
grafana - 4.2.3
Jan 2, 2020
58fcf61
grafana - 4.3.0
Jan 2, 2020
6e16208
grafana - 4.3.1
Jan 16, 2020
50e6dc7
grafana - 4.3.2
Jan 16, 2020
0a5bc09
grafana - 4.4.0
Jan 22, 2020
cc0564a
grafana - 4.4.1
Jan 30, 2020
ebfda9e
grafana - 4.5.0
Jan 31, 2020
18b515e
grafana - 4.5.1
Feb 3, 2020
1b2c935
grafana - 4.6.2
Feb 4, 2020
e18c0f4
grafana - 4.6.3
Feb 5, 2020
a2204f0
grafana - 5.0.0
Feb 18, 2020
f3333ff
grafana - 5.0.1
Feb 25, 2020
af7a9c8
grafana - 5.0.2
Feb 26, 2020
40c347b
grafana - 5.0.3
Feb 26, 2020
82914cd
grafana - 5.0.5
Mar 4, 2020
9f3d830
grafana - 5.0.7
Mar 16, 2020
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
239 changes: 175 additions & 64 deletions stable/grafana/grafana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,58 @@ apiVersion: v1
kind: ServiceAccount
metadata:
labels:
app: grafana
release: grafana
app.kubernetes.io/instance: grafana
app.kubernetes.io/managed-by: Tiller
app.kubernetes.io/name: grafana
app.kubernetes.io/version: 6.6.2
helm.sh/chart: grafana-5.0.7
name: grafana-test
namespace: default
---
apiVersion: v1
kind: ServiceAccount
metadata:
labels:
app.kubernetes.io/instance: grafana
app.kubernetes.io/managed-by: Tiller
app.kubernetes.io/name: grafana
app.kubernetes.io/version: 6.6.2
helm.sh/chart: grafana-5.0.7
name: grafana
namespace: default
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
labels:
app.kubernetes.io/instance: grafana
app.kubernetes.io/managed-by: Tiller
app.kubernetes.io/name: grafana
app.kubernetes.io/version: 6.6.2
helm.sh/chart: grafana-5.0.7
name: grafana-test
namespace: default
rules:
- apiGroups:
- policy
resourceNames:
- grafana-test
resources:
- podsecuritypolicies
verbs:
- use
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: Role
metadata:
labels:
app: grafana
release: grafana
app.kubernetes.io/instance: grafana
app.kubernetes.io/managed-by: Tiller
app.kubernetes.io/name: grafana
app.kubernetes.io/version: 6.6.2
helm.sh/chart: grafana-5.0.7
name: grafana
namespace: default
rules:
- apiGroups:
- extensions
Expand All @@ -27,18 +68,45 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
labels:
app: grafana
release: grafana
app.kubernetes.io/instance: grafana
app.kubernetes.io/managed-by: Tiller
app.kubernetes.io/name: grafana
app.kubernetes.io/version: 6.6.2
helm.sh/chart: grafana-5.0.7
name: grafana-clusterrole
rules: []
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
labels:
app.kubernetes.io/instance: grafana
app.kubernetes.io/managed-by: Tiller
app.kubernetes.io/name: grafana
app.kubernetes.io/version: 6.6.2
helm.sh/chart: grafana-5.0.7
name: grafana-test
namespace: default
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: grafana-test
subjects:
- kind: ServiceAccount
name: grafana-test
namespace: default
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: RoleBinding
metadata:
labels:
app: grafana
release: grafana
app.kubernetes.io/instance: grafana
app.kubernetes.io/managed-by: Tiller
app.kubernetes.io/name: grafana
app.kubernetes.io/version: 6.6.2
helm.sh/chart: grafana-5.0.7
name: grafana
namespace: default
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
Expand All @@ -52,8 +120,11 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
labels:
app: grafana
release: grafana
app.kubernetes.io/instance: grafana
app.kubernetes.io/managed-by: Tiller
app.kubernetes.io/name: grafana
app.kubernetes.io/version: 6.6.2
helm.sh/chart: grafana-5.0.7
name: grafana-clusterrolebinding
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand All @@ -70,15 +141,19 @@ data:
@test "Test Health" {
url="http://grafana/api/health"

code=$(curl -s -o /dev/null -I -w "%{http_code}" $url)
code=$(wget --server-response --spider --timeout 10 --tries 1 ${url} 2>&1 | awk '/^ HTTP/{print $2}')
[ "$code" == "200" ]
}
kind: ConfigMap
metadata:
labels:
app: grafana
release: grafana
app.kubernetes.io/instance: grafana
app.kubernetes.io/managed-by: Tiller
app.kubernetes.io/name: grafana
app.kubernetes.io/version: 6.6.2
helm.sh/chart: grafana-5.0.7
name: grafana-test
namespace: default
---
apiVersion: v1
data:
Expand All @@ -97,61 +172,82 @@ data:
kind: ConfigMap
metadata:
labels:
app: grafana
release: grafana
app.kubernetes.io/instance: grafana
app.kubernetes.io/managed-by: Tiller
app.kubernetes.io/name: grafana
app.kubernetes.io/version: 6.6.2
helm.sh/chart: grafana-5.0.7
name: grafana
namespace: default
---
apiVersion: v1
data:
admin-password: dU1tSXhBMjA5aWVENURBcW1Na1VGMGUzQ3hic3hQUUhObGcxd2F0bQ==
admin-password: MThmWHFGUVBaUWNrOGROd1k0bXlzQ3h0dm1SbXBvWFdyb2NTcXhGZw==
admin-user: YWRtaW4=
ldap-toml: ""
kind: Secret
metadata:
labels:
app: grafana
release: grafana
app.kubernetes.io/instance: grafana
app.kubernetes.io/managed-by: Tiller
app.kubernetes.io/name: grafana
app.kubernetes.io/version: 6.6.2
helm.sh/chart: grafana-5.0.7
name: grafana
namespace: default
type: Opaque
---
apiVersion: v1
kind: Service
metadata:
labels:
app: grafana
release: grafana
app.kubernetes.io/instance: grafana
app.kubernetes.io/managed-by: Tiller
app.kubernetes.io/name: grafana
app.kubernetes.io/version: 6.6.2
helm.sh/chart: grafana-5.0.7
name: grafana
namespace: default
spec:
ports:
- name: service
port: 80
protocol: TCP
targetPort: 3000
selector:
app: grafana
release: grafana
app.kubernetes.io/instance: grafana
app.kubernetes.io/name: grafana
type: ClusterIP
---
apiVersion: apps/v1beta2
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: grafana
release: grafana
app.kubernetes.io/instance: grafana
app.kubernetes.io/managed-by: Tiller
app.kubernetes.io/name: grafana
app.kubernetes.io/version: 6.6.2
helm.sh/chart: grafana-5.0.7
name: grafana
namespace: default
spec:
replicas: 1
replicas: 2
selector:
matchLabels:
app: grafana
release: grafana
app.kubernetes.io/instance: grafana
app.kubernetes.io/name: grafana
strategy:
type: RollingUpdate
template:
metadata:
annotations:
checksum/config: 25c0d6d4ddf8bf7184ff8846a1cf0e665fd4e89b550a57f9dea892ea4a58cd47
checksum/dashboards-json-config: 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b
checksum/sc-dashboard-provider-config: 01ba4719c80b6fe911b091a7c05124b64eeece964e09c058ef8f9805daca546b
checksum/secret: 04473fb8e27cfb4d99977b54ee9775b217b47f5e97e50b1271360d56a2e9f53b
labels:
app: grafana
release: grafana
app.kubernetes.io/instance: grafana
app.kubernetes.io/name: grafana
spec:
containers:
- env:
Expand All @@ -165,7 +261,7 @@ spec:
secretKeyRef:
key: admin-password
name: grafana
image: grafana/grafana:6.1.4
image: grafana/grafana:6.6.2
imagePullPolicy: IfNotPresent
livenessProbe:
failureThreshold: 10
Expand All @@ -191,9 +287,6 @@ spec:
- mountPath: /etc/grafana/grafana.ini
name: config
subPath: grafana.ini
- mountPath: /etc/grafana/ldap.toml
name: ldap
subPath: ldap.toml
- mountPath: /var/lib/grafana
name: storage
securityContext:
Expand All @@ -204,16 +297,42 @@ spec:
- configMap:
name: grafana
name: config
- name: ldap
secret:
items:
- key: ldap-toml
path: ldap.toml
secretName: grafana
- emptyDir: {}
name: storage
---
apiVersion: extensions/v1beta1
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
labels:
app.kubernetes.io/instance: grafana
app.kubernetes.io/managed-by: Tiller
app.kubernetes.io/name: grafana
app.kubernetes.io/version: 6.6.2
helm.sh/chart: grafana-5.0.7
name: grafana-test
namespace: default
spec:
allowPrivilegeEscalation: true
fsGroup:
rule: RunAsAny
hostIPC: false
hostNetwork: false
hostPID: false
privileged: false
runAsUser:
rule: RunAsAny
seLinux:
rule: RunAsAny
supplementalGroups:
rule: RunAsAny
volumes:
- configMap
- downwardAPI
- emptyDir
- projected
- secret
---
apiVersion: policy/v1beta1
kind: PodSecurityPolicy
metadata:
annotations:
Expand All @@ -222,9 +341,13 @@ metadata:
seccomp.security.alpha.kubernetes.io/allowedProfileNames: docker/default
seccomp.security.alpha.kubernetes.io/defaultProfileName: docker/default
labels:
app: grafana
release: grafana
app.kubernetes.io/instance: grafana
app.kubernetes.io/managed-by: Tiller
app.kubernetes.io/name: grafana
app.kubernetes.io/version: 6.6.2
helm.sh/chart: grafana-5.0.7
name: grafana
namespace: default
spec:
allowPrivilegeEscalation: false
fsGroup:
Expand Down Expand Up @@ -267,40 +390,28 @@ metadata:
annotations:
helm.sh/hook: test-success
labels:
app: grafana
release: grafana
app.kubernetes.io/instance: grafana
app.kubernetes.io/managed-by: Tiller
app.kubernetes.io/name: grafana
app.kubernetes.io/version: 6.6.2
helm.sh/chart: grafana-5.0.7
name: grafana-test
namespace: default
spec:
containers:
- command:
- /tools/bats/bats
- /opt/bats/bin/bats
- -t
- /tests/run.sh
image: dduportal/bats:0.4.0
image: bats/bats:v1.1.0
name: grafana-test
volumeMounts:
- mountPath: /tests
name: tests
readOnly: true
- mountPath: /tools
name: tools
initContainers:
- command:
- bash
- -c
- |
set -ex
# copy bats to tools dir
cp -R /usr/local/libexec/ /tools/bats/
image: dduportal/bats:0.4.0
name: test-framework
volumeMounts:
- mountPath: /tools
name: tools
restartPolicy: Never
serviceAccountName: grafana-test
volumes:
- configMap:
name: grafana-test
name: tests
- emptyDir: {}
name: tools