File tree 3 files changed +5
-3
lines changed
charts/perfectscale-agent
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ dependencies:
9
9
- name : kube-state-metrics
10
10
version : " 4.16.0"
11
11
repository : https://prometheus-community.github.io/helm-charts
12
- condition : kube-state-metrics.enabled
12
+ condition : settings.deployKubeStateMetrics
Original file line number Diff line number Diff line change @@ -30,11 +30,13 @@ spec:
30
30
securityContext :
31
31
{{- toYaml . | nindent 8 }}
32
32
{{- end }}
33
+ {{- if .Values.settings.deployKubeStateMetrics }}
33
34
initContainers :
34
35
- name : depends-on
35
36
image : " public.ecr.aws/perfectscale-io/alpine:3.17"
36
37
command : [ 'sh' ]
37
38
args : [ '-c', 'curl --retry-all-errors --retry 30 --retry-delay 5 -s {{ include "helm.exporter.ksmAddress" . }}; sleep {{ .Values.settings.initSleep | default "1s" }}' ]
39
+ {{- end }}
38
40
{{- if .Values.containerSecurityContext }}
39
41
securityContext :
40
42
{{ toYaml .Values.containerSecurityContext | indent 12 }}
Original file line number Diff line number Diff line change @@ -2,8 +2,9 @@ replicaCount: 1
2
2
image :
3
3
repository : public.ecr.aws/perfectscale-io/psc-exporter
4
4
pullPolicy : Always
5
- tag : " v0.0.29 "
5
+ tag : " v0.0.30 "
6
6
settings :
7
+ deployKubeStateMetrics : true
7
8
serviceId : " psc-exporter"
8
9
env : " prod"
9
10
logLevel : " INFO"
@@ -93,7 +94,6 @@ serviceMonitor:
93
94
# labels:
94
95
# prometheus: kube-prometheus
95
96
kube-state-metrics :
96
- enabled : true
97
97
containerSecurityContext :
98
98
allowPrivilegeEscalation : false
99
99
seccompProfile :
You can’t perform that action at this time.
0 commit comments