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:
66 labels :
77 {{- include "helm.labels" . | nindent 4 }}
88 {{- if .Values.additionalLabels }}
9- {{ toYaml .Values.additionalLabels | nindent 4 }}
9+ {{- toYaml .Values.additionalLabels | nindent 4 }}
1010 {{- end }}
1111rules :
1212 - apiGroups :
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ metadata:
55 name : {{ template "helm.fullname" . }}
66 labels : {{- include "helm.labels" . | nindent 4 }}
77 {{- if .Values.additionalLabels }}
8- {{ toYaml .Values.additionalLabels | nindent 4 }}
8+ {{- toYaml .Values.additionalLabels | nindent 4 }}
99 {{- end }}
1010subjects :
1111 - kind : ServiceAccount
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ metadata:
88 labels :
99 {{- include "helm.labels" . | nindent 4 }}
1010 {{- if .Values.additionalLabels }}
11- {{ toYaml .Values.additionalLabels | nindent 4 }}
11+ {{- toYaml .Values.additionalLabels | nindent 4 }}
1212 {{- end }}
1313 {{- with .Values.annotations }}
1414 annotations :
2424 labels :
2525 {{- include "helm.selectorLabels" . | nindent 8 }}
2626 {{- if .Values.podLabels }}
27- {{ toYaml .Values.podLabels | nindent 8 }}
27+ {{- toYaml .Values.podLabels | nindent 8 }}
2828 {{- end }}
2929 {{- with .Values.podAnnotations }}
3030 annotations :
Original file line number Diff line number Diff line change @@ -9,8 +9,10 @@ metadata:
99 name : {{ $fullName }}
1010 labels :
1111 {{ toYaml .Values.prometheusRule.labels | indent 4 }}
12+ {{- with .Values.prometheusRule.annotations }}
1213 annotations :
13- {{ toYaml .Values.prometheusRule.annotations | indent 4 }}
14+ {{- toYaml . | nindent 4 }}
15+ {{- end }}
1416spec :
1517 groups :
1618 - name : {{ $fullName }}
Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ metadata:
99 {{- range $key, $value := .Values.serviceMonitor.labels }}
1010 {{ $key }}: {{ $value | quote }}
1111 {{- end }}
12+ {{- with .Values.serviceMonitor.annotations }}
13+ annotations :
14+ {{- toYaml . | nindent 4 }}
15+ {{- end }}
1216spec :
1317 endpoints :
1418 - port : http
Original file line number Diff line number Diff line change @@ -5,8 +5,12 @@ metadata:
55 labels :
66 {{- include "helm.labels" . | nindent 4 }}
77 {{- if .Values.additionalLabels }}
8- {{ toYaml .Values.additionalLabels | nindent 4 }}
8+ {{- toYaml .Values.additionalLabels | nindent 4 }}
99 {{- end }}
10+ {{- with .Values.annotations }}
11+ annotations :
12+ {{- toYaml . | nindent 4 }}
13+ {{- end }}
1014spec :
1115 type : {{ .Values.service.type }}
1216 ports :
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ metadata:
66 labels :
77 {{- include "helm.labels" . | nindent 4 }}
88 {{- if .Values.additionalLabels }}
9- {{ toYaml .Values.additionalLabels | nindent 4 }}
9+ {{- toYaml .Values.additionalLabels | nindent 4 }}
1010 {{- end }}
1111 {{- with .Values.serviceAccount.annotations }}
1212 annotations :
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ replicaCount: 1
22image :
33 repository : public.ecr.aws/perfectscale-io/psc-exporter
44 pullPolicy : Always
5- tag : " v1.0.39 "
5+ tag : " v1.0.40 "
66initContainer :
77 image :
88 repository : public.ecr.aws/perfectscale-io/alpine
@@ -61,7 +61,7 @@ podLabels: {}
6161# # Annotations to add to the deployment
6262annotations : {}
6363# # Annotations to add to the pod
64- podAnnotation : {}
64+ podAnnotations : {}
6565# # Pods Service Account
6666# # ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
6767serviceAccount :
@@ -120,21 +120,27 @@ serviceMonitor:
120120 # Additional Label to the serviceMonitor
121121 # labels:
122122 # prometheus: kube-prometheus
123+ # Additional Annotations to the serviceMonitor
124+ annotations : {}
123125# requires serviceMonitor.enable=true
124126prometheusRule :
125127 enable : false
126128 team : default
127129 # warning by default, can be warning/critical
128130 severity : warning
131+ # Additional Label to the prometheusRule
129132 labels :
130133 release : prometheus
134+ # Additional Annotations to the prometheusRule
135+ annotations : {}
131136 cAdvisorScraping :
132137 timeRange : " 30m"
133138 threshold : 0.3
134139grafana :
135140 dashboard :
136141 enabled : false
137142 namespace : monitoring
143+ # Additional Label to the dashboard configmap
138144 labels :
139145 grafana_dashboard : " 1"
140146kube-state-metrics :
You can’t perform that action at this time.
0 commit comments