Skip to content

Commit

Permalink
Merge pull request #41 from gravitational/fred/add-limit-override-hel…
Browse files Browse the repository at this point in the history
…m-chart-1

Added support for setting limit overrides in the Helm chart
  • Loading branch information
fheinecke authored May 31, 2024
2 parents 05a5ba1 + 6a205f4 commit cc7548d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Added

- Added support for setting limit overrides in the Helm chart [#41](https://github.com/gravitational/aws-quota-checker/pull/41)

### Fixed

- Fixed alerts not including the resource name when applicable [#40](https://github.com/gravitational/aws-quota-checker/pull/40)
Expand Down
5 changes: 5 additions & 0 deletions helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ spec:
{{- if .Values.checker.enableDebugLogging }}
- --debug
{{- end }}
{{- range $checkName, $overrideValue := .Values.checker.aws.limitOverrides }}
- --limit-override
- {{ $checkName | quote }}
- {{ $overrideValue | quote }}
{{- end }}
- prometheus-exporter
- --port
- "8080"
Expand Down
2 changes: 2 additions & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ checker:
- us-west-2
enabledChecks:
- all
limitOverrides:
# ecr_images_per_repository: 40000
# credentialSecretName: "" # Optional. Contains the name of a secret in the namespace that has standard AWS credential environment vars.
# profileName: ""
# quotaLimitCheckIntervalSeconds: 600
Expand Down

0 comments on commit cc7548d

Please sign in to comment.