File tree Expand file tree Collapse file tree 8 files changed +25
-9
lines changed
charts/perfectscale-agent Expand file tree Collapse file tree 8 files changed +25
-9
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ metadata:
6
6
labels :
7
7
{{- include "helm.labels" . | nindent 4 }}
8
8
{{- if .Values.additionalLabels }}
9
- {{ toYaml .Values.additionalLabels | nindent 4 }}
9
+ {{- toYaml .Values.additionalLabels | nindent 4 }}
10
10
{{- end }}
11
11
rules :
12
12
- apiGroups :
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ metadata:
5
5
name : {{ template "helm.fullname" . }}
6
6
labels : {{- include "helm.labels" . | nindent 4 }}
7
7
{{- if .Values.additionalLabels }}
8
- {{ toYaml .Values.additionalLabels | nindent 4 }}
8
+ {{- toYaml .Values.additionalLabels | nindent 4 }}
9
9
{{- end }}
10
10
subjects :
11
11
- kind : ServiceAccount
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ metadata:
8
8
labels :
9
9
{{- include "helm.labels" . | nindent 4 }}
10
10
{{- if .Values.additionalLabels }}
11
- {{ toYaml .Values.additionalLabels | nindent 4 }}
11
+ {{- toYaml .Values.additionalLabels | nindent 4 }}
12
12
{{- end }}
13
13
{{- with .Values.annotations }}
14
14
annotations :
24
24
labels :
25
25
{{- include "helm.selectorLabels" . | nindent 8 }}
26
26
{{- if .Values.podLabels }}
27
- {{ toYaml .Values.podLabels | nindent 8 }}
27
+ {{- toYaml .Values.podLabels | nindent 8 }}
28
28
{{- end }}
29
29
{{- with .Values.podAnnotations }}
30
30
annotations :
Original file line number Diff line number Diff line change @@ -9,8 +9,10 @@ metadata:
9
9
name : {{ $fullName }}
10
10
labels :
11
11
{{ toYaml .Values.prometheusRule.labels | indent 4 }}
12
+ {{- with .Values.prometheusRule.annotations }}
12
13
annotations :
13
- {{ toYaml .Values.prometheusRule.annotations | indent 4 }}
14
+ {{- toYaml . | nindent 4 }}
15
+ {{- end }}
14
16
spec :
15
17
groups :
16
18
- name : {{ $fullName }}
Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ metadata:
9
9
{{- range $key, $value := .Values.serviceMonitor.labels }}
10
10
{{ $key }}: {{ $value | quote }}
11
11
{{- end }}
12
+ {{- with .Values.serviceMonitor.annotations }}
13
+ annotations :
14
+ {{- toYaml . | nindent 4 }}
15
+ {{- end }}
12
16
spec :
13
17
endpoints :
14
18
- port : http
Original file line number Diff line number Diff line change @@ -5,8 +5,12 @@ metadata:
5
5
labels :
6
6
{{- include "helm.labels" . | nindent 4 }}
7
7
{{- if .Values.additionalLabels }}
8
- {{ toYaml .Values.additionalLabels | nindent 4 }}
8
+ {{- toYaml .Values.additionalLabels | nindent 4 }}
9
9
{{- end }}
10
+ {{- with .Values.annotations }}
11
+ annotations :
12
+ {{- toYaml . | nindent 4 }}
13
+ {{- end }}
10
14
spec :
11
15
type : {{ .Values.service.type }}
12
16
ports :
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ metadata:
6
6
labels :
7
7
{{- include "helm.labels" . | nindent 4 }}
8
8
{{- if .Values.additionalLabels }}
9
- {{ toYaml .Values.additionalLabels | nindent 4 }}
9
+ {{- toYaml .Values.additionalLabels | nindent 4 }}
10
10
{{- end }}
11
11
{{- with .Values.serviceAccount.annotations }}
12
12
annotations :
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ replicaCount: 1
2
2
image :
3
3
repository : public.ecr.aws/perfectscale-io/psc-exporter
4
4
pullPolicy : Always
5
- tag : " v1.0.39 "
5
+ tag : " v1.0.40 "
6
6
initContainer :
7
7
image :
8
8
repository : public.ecr.aws/perfectscale-io/alpine
@@ -61,7 +61,7 @@ podLabels: {}
61
61
# # Annotations to add to the deployment
62
62
annotations : {}
63
63
# # Annotations to add to the pod
64
- podAnnotation : {}
64
+ podAnnotations : {}
65
65
# # Pods Service Account
66
66
# # ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
67
67
serviceAccount :
@@ -120,21 +120,27 @@ serviceMonitor:
120
120
# Additional Label to the serviceMonitor
121
121
# labels:
122
122
# prometheus: kube-prometheus
123
+ # Additional Annotations to the serviceMonitor
124
+ annotations : {}
123
125
# requires serviceMonitor.enable=true
124
126
prometheusRule :
125
127
enable : false
126
128
team : default
127
129
# warning by default, can be warning/critical
128
130
severity : warning
131
+ # Additional Label to the prometheusRule
129
132
labels :
130
133
release : prometheus
134
+ # Additional Annotations to the prometheusRule
135
+ annotations : {}
131
136
cAdvisorScraping :
132
137
timeRange : " 30m"
133
138
threshold : 0.3
134
139
grafana :
135
140
dashboard :
136
141
enabled : false
137
142
namespace : monitoring
143
+ # Additional Label to the dashboard configmap
138
144
labels :
139
145
grafana_dashboard : " 1"
140
146
kube-state-metrics :
You can’t perform that action at this time.
0 commit comments