Skip to content

Commit

Permalink
Update perfectscale-agent chart with new package version v0.0.30
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jun 22, 2023
1 parent f8fedde commit 7bcaeb0
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/perfectscale-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ dependencies:
- name: kube-state-metrics
version: "4.16.0"
repository: https://prometheus-community.github.io/helm-charts
condition: kube-state-metrics.enabled
condition: settings.deployKubeStateMetrics
2 changes: 2 additions & 0 deletions charts/perfectscale-agent/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ spec:
securityContext:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.settings.deployKubeStateMetrics }}
initContainers:
- name: depends-on
image: "public.ecr.aws/perfectscale-io/alpine:3.17"
command: [ 'sh' ]
args: [ '-c', 'curl --retry-all-errors --retry 30 --retry-delay 5 -s {{ include "helm.exporter.ksmAddress" . }}; sleep {{ .Values.settings.initSleep | default "1s" }}' ]
{{- end }}
{{- if .Values.containerSecurityContext }}
securityContext:
{{ toYaml .Values.containerSecurityContext | indent 12 }}
Expand Down
4 changes: 2 additions & 2 deletions charts/perfectscale-agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ replicaCount: 1
image:
repository: public.ecr.aws/perfectscale-io/psc-exporter
pullPolicy: Always
tag: "v0.0.29"
tag: "v0.0.30"
settings:
deployKubeStateMetrics: true
serviceId: "psc-exporter"
env: "prod"
logLevel: "INFO"
Expand Down Expand Up @@ -93,7 +94,6 @@ serviceMonitor:
# labels:
# prometheus: kube-prometheus
kube-state-metrics:
enabled: true
containerSecurityContext:
allowPrivilegeEscalation: false
seccompProfile:
Expand Down

0 comments on commit 7bcaeb0

Please sign in to comment.