File tree Expand file tree Collapse file tree 5 files changed +45
-30
lines changed
tests/golden/defaults/prometheus-pushgateway/prometheus-pushgateway/01_helmchart/prometheus-pushgateway/templates Expand file tree Collapse file tree 5 files changed +45
-30
lines changed Original file line number Diff line number Diff line change @@ -10,4 +10,4 @@ parameters:
1010 enabled : true
1111 namespace : ${prometheus_pushgateway:namespace}
1212 charts :
13- prometheus-pushgateway : 1.5.1
13+ prometheus-pushgateway : 2.0.3
Original file line number Diff line number Diff line change @@ -2,32 +2,35 @@ apiVersion: apps/v1
22kind : Deployment
33metadata :
44 labels :
5- app : prometheus-pushgateway
6- chart : prometheus-pushgateway-1.5.1
7- heritage : Helm
8- release : platform
5+ app.kubernetes.io/instance : platform
6+ app.kubernetes.io/managed-by : Helm
7+ app.kubernetes.io/name : prometheus-pushgateway
8+ app.kubernetes.io/version : v1.5.1
9+ helm.sh/chart : prometheus-pushgateway-2.0.3
910 name : platform-prometheus-pushgateway
1011spec :
1112 replicas : 1
1213 selector :
1314 matchLabels :
14- app : prometheus-pushgateway
15- release : platform
15+ app.kubernetes.io/instance : platform
16+ app.kubernetes.io/name : prometheus-pushgateway
1617 strategy :
1718 type : Recreate
1819 template :
1920 metadata :
20- annotations : {}
2121 labels :
22- app : prometheus-pushgateway
23- release : platform
22+ app.kubernetes.io/instance : platform
23+ app.kubernetes.io/managed-by : Helm
24+ app.kubernetes.io/name : prometheus-pushgateway
25+ app.kubernetes.io/version : v1.5.1
26+ helm.sh/chart : prometheus-pushgateway-2.0.3
2427 spec :
2528 containers :
26- - image : prom/pushgateway:v1.3.0
29+ - image : prom/pushgateway:v1.5.1
2730 imagePullPolicy : IfNotPresent
2831 livenessProbe :
2932 httpGet :
30- path : /-/healthy
33+ path : /-/ready
3134 port : 9091
3235 initialDelaySeconds : 10
3336 timeoutSeconds : 10
4245 port : 9091
4346 initialDelaySeconds : 10
4447 timeoutSeconds : 10
45- resources : {}
48+ volumeMounts :
49+ - mountPath : /data
50+ name : storage-volume
51+ subPath : ' '
52+ securityContext :
53+ fsGroup : 65534
54+ runAsNonRoot : true
55+ runAsUser : 65534
4656 serviceAccountName : platform-prometheus-pushgateway
57+ volumes :
58+ - emptyDir : {}
59+ name : storage-volume
Original file line number Diff line number Diff line change 11apiVersion : v1
22kind : Service
33metadata :
4- annotations : {}
54 labels :
6- app : prometheus-pushgateway
7- chart : prometheus-pushgateway-1.5.1
8- heritage : Helm
9- release : platform
5+ app.kubernetes.io/instance : platform
6+ app.kubernetes.io/managed-by : Helm
7+ app.kubernetes.io/name : prometheus-pushgateway
8+ app.kubernetes.io/version : v1.5.1
9+ helm.sh/chart : prometheus-pushgateway-2.0.3
1010 name : platform-prometheus-pushgateway
1111spec :
1212 ports :
1515 protocol : TCP
1616 targetPort : 9091
1717 selector :
18- app : prometheus-pushgateway
19- release : platform
18+ app.kubernetes.io/instance : platform
19+ app.kubernetes.io/name : prometheus-pushgateway
2020 type : ClusterIP
Original file line number Diff line number Diff line change @@ -2,8 +2,9 @@ apiVersion: v1
22kind : ServiceAccount
33metadata :
44 labels :
5- app : prometheus-pushgateway
6- chart : prometheus-pushgateway-1.5.1
7- heritage : Helm
8- release : platform
5+ app.kubernetes.io/instance : platform
6+ app.kubernetes.io/managed-by : Helm
7+ app.kubernetes.io/name : prometheus-pushgateway
8+ app.kubernetes.io/version : v1.5.1
9+ helm.sh/chart : prometheus-pushgateway-2.0.3
910 name : platform-prometheus-pushgateway
Original file line number Diff line number Diff line change @@ -2,10 +2,11 @@ apiVersion: monitoring.coreos.com/v1
22kind : ServiceMonitor
33metadata :
44 labels :
5- app : prometheus-pushgateway
6- chart : prometheus-pushgateway-1.5.1
7- heritage : Helm
8- release : platform
5+ app.kubernetes.io/instance : platform
6+ app.kubernetes.io/managed-by : Helm
7+ app.kubernetes.io/name : prometheus-pushgateway
8+ app.kubernetes.io/version : v1.5.1
9+ helm.sh/chart : prometheus-pushgateway-2.0.3
910 name : platform-prometheus-pushgateway
1011 namespace : syn-prometheus-pushgateway
1112spec :
1819 - syn-prometheus-pushgateway
1920 selector :
2021 matchLabels :
21- app : prometheus-pushgateway
22- release : platform
22+ app.kubernetes.io/instance : platform
23+ app.kubernetes.io/name : prometheus-pushgateway
You can’t perform that action at this time.
0 commit comments