Skip to content

Commit

Permalink
Merge pull request #1331 from christianhuth/christianhuth-patch-1
Browse files Browse the repository at this point in the history
[popeye] Fix Pushgateway flags
  • Loading branch information
christianhuth authored Feb 20, 2025
2 parents 19067e8 + edf9250 commit 23bfe83
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions charts/popeye/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# popeye

## 2.2.1
## 2.2.2

### Changed
### Fixed

- App version to 0.22.1
- wrong flags for Pushgateway
6 changes: 3 additions & 3 deletions charts/popeye/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: popeye
description: Popeye - A Kubernetes Cluster Sanitizer
type: application
version: 2.2.1
version: 2.2.2
appVersion: "v0.22.1"
home: https://github.com/christianhuth/helm-charts
icon: https://raw.githubusercontent.com/derailed/popeye/master/assets/popeye_logo.png
Expand All @@ -14,8 +14,8 @@ sources:
annotations:
artifacthub.io/category: security
artifacthub.io/changes: |
- kind: changed
description: App version to 0.22.1
- kind: fixed
description: wrong flags for Pushgateway
artifacthub.io/screenshots: |
- title: Popeye is a utility that scans live Kubernetes cluster and reports potential issues with deployed resources and configurations.
url: https://popeyecli.io/assets/d_score.png
Expand Down
6 changes: 3 additions & 3 deletions charts/popeye/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ spec:
- --force-exit-zero=true
- --out={{ .Values.cronJob.outputFormat }}
{{- if and (eq .Values.cronJob.outputFormat "prometheus") (.Values.cronJob.prometheus.pushgatewayAddress) }}
- --pushgateway-address={{ .Values.cronJob.prometheus.pushgatewayAddress }}
- --push-gtwy-url={{ .Values.cronJob.prometheus.pushgatewayAddress }}
{{- if .Values.cronJob.prometheus.basicAuth.enabled }}
- --pushgateway-basic-auth-user={{ .Values.cronJob.prometheus.basicAuth.user }}
- --pushgateway-basic-auth-pass=$PUSHGATEWAY_BASIC_AUTH_PASSWORD
- --push-gtwy-user={{ .Values.cronJob.prometheus.basicAuth.user }}
- --push-gtwy-password=$PUSHGATEWAY_BASIC_AUTH_PASSWORD
{{- end }}
{{- end }}
{{- if .Values.cronJob.s3.bucket }}
Expand Down

0 comments on commit 23bfe83

Please sign in to comment.