Skip to content

Commit

Permalink
[FEATURE] - HELM Value for Configuration Rate Limiting (#1419)
Browse files Browse the repository at this point in the history
* [FEATURE] - HELM Value for Configuration Rate Limiting

Adding the 'configurations-threshold' value to the helm chart to enabling adding rate limiting

* [HELM] - Release v0.7.14 (Application 0.4.11) (#1420)

Bumping the versions in order to release the assets
  • Loading branch information
gambol99 authored May 20, 2024
1 parent 8444cae commit 7bd91ac
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
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

0 comments on commit 7bd91ac

Please sign in to comment.