Skip to content

Commit 7bcaeb0

Browse files
author
github-actions
committed
Update perfectscale-agent chart with new package version v0.0.30
1 parent f8fedde commit 7bcaeb0

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

charts/perfectscale-agent/Chart.yaml

+1-1
Original file line numberDiff line numberDiff 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

charts/perfectscale-agent/templates/deployment.yaml

+2
Original file line numberDiff line numberDiff 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 }}

charts/perfectscale-agent/values.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ replicaCount: 1
22
image:
33
repository: public.ecr.aws/perfectscale-io/psc-exporter
44
pullPolicy: Always
5-
tag: "v0.0.29"
5+
tag: "v0.0.30"
66
settings:
7+
deployKubeStateMetrics: true
78
serviceId: "psc-exporter"
89
env: "prod"
910
logLevel: "INFO"
@@ -93,7 +94,6 @@ serviceMonitor:
9394
# labels:
9495
# prometheus: kube-prometheus
9596
kube-state-metrics:
96-
enabled: true
9797
containerSecurityContext:
9898
allowPrivilegeEscalation: false
9999
seccompProfile:

0 commit comments

Comments
 (0)