Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] - HELM Value for Configuration Rate Limiting #1419

Merged
merged 2 commits into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions charts/terranetes-controller/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ apiVersion: v2
name: terranetes-controller
description: Controller used to provision a terraform workflow within kubernetes
type: application
version: v0.7.14
appVersion: v0.4.10
version: v0.7.15
appVersion: v0.4.11
sources:
- https://github.com/appvia/terranetes-controller
- https://github.com/appvia/terranetes
Expand Down
1 change: 1 addition & 0 deletions charts/terranetes-controller/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ spec:
- --drift-controller-interval={{ .Values.controller.driftControllerInterval }}
- --drift-interval={{ .Values.controller.driftInterval }}
- --drift-threshold={{ .Values.controller.driftThreshold }}
- --configurations-threshold={{ .Values.controller.configuration_rate_threshold }}
- --enable-context-injection={{ .Values.controller.enableContextInjection }}
- --enable-namespace-protection={{ .Values.controller.enableNamespaceProtection }}
- --enable-revision-update-protection={{ .Values.controller.enableRevisionUpdateProtection }}
Expand Down
10 changes: 7 additions & 3 deletions charts/terranetes-controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,15 @@ controller:
# policy is image for policy
policy: bridgecrew/checkov:3.2.55
# preload is the image to use for preload data jobs
preload: ghcr.io/appvia/terranetes-executor:v0.4.10
preload: ghcr.io/appvia/terranetes-executor:v0.4.11
# is the controller image
controller: ghcr.io/appvia/terranetes-controller:v0.4.10
controller: ghcr.io/appvia/terranetes-controller:v0.4.11
# The terranetes image used when running jobs
executor: ghcr.io/appvia/terranetes-executor:v0.4.10
executor: ghcr.io/appvia/terranetes-executor:v0.4.11
# Rate limting on configurations to prevent the controller from being overwhelmed. This
# is the percentage of configurations which are permitted to run a plan at any one time.
# Note, zero means no rate limiting is applied.
configuration_rate_threshold: 0
# driftInterval is the minimum time to check for drift
driftInterval: 5h
# driftThreshold is the percentage of configurations which are permitted
Expand Down