diff --git a/charts/terranetes-controller/Chart.yaml b/charts/terranetes-controller/Chart.yaml index a0c2eea48..2d19e4f7b 100644 --- a/charts/terranetes-controller/Chart.yaml +++ b/charts/terranetes-controller/Chart.yaml @@ -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 diff --git a/charts/terranetes-controller/templates/deployment.yaml b/charts/terranetes-controller/templates/deployment.yaml index 5074f02a4..51d9be2e6 100644 --- a/charts/terranetes-controller/templates/deployment.yaml +++ b/charts/terranetes-controller/templates/deployment.yaml @@ -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 }} diff --git a/charts/terranetes-controller/values.yaml b/charts/terranetes-controller/values.yaml index e83cf1aeb..f9c09cad4 100644 --- a/charts/terranetes-controller/values.yaml +++ b/charts/terranetes-controller/values.yaml @@ -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