The module is enabled by default in the Default bundle.
The module is disabled by default in the following bundles: Managed, Minimal.
The module is configured using the ModuleConfig custom resource named terraform-manager (learn more about setting up Deckhouse…).
Example of the ModuleConfig/terraform-manager resource for configuring the module:
apiVersion: deckhouse.io/v1alpha1
kind: ModuleConfig
metadata:
name: terraform-manager
spec:
version: 1
enabled: true
settings: # <-- Module parameters from the "Parameters" section below.
Parameters
Schema version: 1
- autoConvergerEnabledboolean
Enables periodic checking of Terraform state and applying non-destructive changes.
The frequency of the check is set by the autoConvergerPeriod parameter.
Default:
true - autoConvergerPeriodstring
The time interval after which the state of Terraform is checked and applied.
It is specified as a string containing the time unit in hours and minutes: 30m, 1h, 2h30m, 24h.
Default:
"1h"Pattern:
^([0-9]+h)?([0-9]+m)?([0-9]+s)?$ - nodeSelectorobject
The same as in the Pod’s
spec.nodeSelectorparameter in Kubernetes.If the parameter is omitted or
false, it will be determined automatically. - tolerationsarray of objects
The same as in the Pods’
spec.tolerationsparameter in Kubernetes;If the parameter is omitted or
false, it will be determined automatically.- tolerations.effectstring
- tolerations.keystring
- tolerations.operatorstring
- tolerations.tolerationSecondsinteger
- tolerations.valuestring