File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
charts/perfectscale-agent Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ dependencies:
99 - name : kube-state-metrics
1010 version : " 4.16.0"
1111 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:
3030 securityContext :
3131 {{- toYaml . | nindent 8 }}
3232 {{- end }}
33+ {{- if .Values.settings.deployKubeStateMetrics }}
3334 initContainers :
3435 - name : depends-on
3536 image : " public.ecr.aws/perfectscale-io/alpine:3.17"
3637 command : [ 'sh' ]
3738 args : [ '-c', 'curl --retry-all-errors --retry 30 --retry-delay 5 -s {{ include "helm.exporter.ksmAddress" . }}; sleep {{ .Values.settings.initSleep | default "1s" }}' ]
39+ {{- end }}
3840{{- if .Values.containerSecurityContext }}
3941 securityContext :
4042{{ toYaml .Values.containerSecurityContext | indent 12 }}
Original file line number Diff line number Diff line change @@ -2,8 +2,9 @@ replicaCount: 1
22image :
33 repository : public.ecr.aws/perfectscale-io/psc-exporter
44 pullPolicy : Always
5- tag : " v0.0.29 "
5+ tag : " v0.0.30 "
66settings :
7+ deployKubeStateMetrics : true
78 serviceId : " psc-exporter"
89 env : " prod"
910 logLevel : " INFO"
@@ -93,7 +94,6 @@ serviceMonitor:
9394 # labels:
9495 # prometheus: kube-prometheus
9596kube-state-metrics :
96- enabled : true
9797 containerSecurityContext :
9898 allowPrivilegeEscalation : false
9999 seccompProfile :
You can’t perform that action at this time.
0 commit comments