1# -- If `true`, enable cross-namespace references for controller and branch-planner
2allowCrossNamespaceRefs: false
3# -- If `true`, controller will watch all namespaces for Terraform resources
4watchAllNamespaces: true
7 # -- If `true`, create a new service account
9 # -- Additional Service Account annotations
11 # -- Service account to be used
12 # @default -- tofu-controller
17# -- Provide a fullname
19# -- Additional deployment labels for the controller
21# -- Additional pod annotations
23# -- Additional pod labels
25# -- Number of tofu-controller pods to deploy
28 # -- Controller image repository
29 repository: cgr.dev/chainguard-private/tofu-controller
30 # -- Controller image pull policy
31 pullPolicy: IfNotPresent
32 # -- Overrides the image tag whose default is the chart appVersion.
33 # @default -- `.Chart.AppVersion`
34 tag: 0.17.0-r0@sha256:24659164db7ca861077b20b76993501e6c84d9526654a8fa0ec6e83f802a74cd
35# -- Controller image pull secret
37# -- Resource limits and requests
45# -- Additional container environment variables.
47# -- Pod-level security context
50# -- Container-level security context
52 allowPrivilegeEscalation: false
56 readOnlyRootFilesystem: true
62 # -- If `true`, create and use RBAC resources
64# -- Node Selector properties for the tofu-controller deployment
66# -- Tolerations properties for the tofu-controller deployment
68# -- Affinity properties for the tofu-controller deployment
70# -- Volumes properties for the tofu-controller deployment
74# secretName: policy-agent-tls
76# -- Volume mounts properties for the tofu-controller deployment
79# mountPath: "/etc/certs/policy-agent.policy-system.svc/"
82# -- PriorityClassName property for the tofu-controller deployment
84# -- Argument for `--log-encoding`. Can be 'json' or 'console'. (Controller)
86# -- Level of logging of the controller (Controller)
88# -- Concurrency of the controller (Controller)
90# -- Argument for `--cert-rotation-check-frequency` (Controller)
91certRotationCheckFrequency: 30m0s
92# -- Argument for `--ca-cert-validity-duration` (Controller)
93caCertValidityDuration: 168h0m
94# -- Argument for `--events-addr` (Controller). The event address, default to the address of the Notification Controller
95eventsAddress: http://notification-controller.flux-system.svc.cluster.local./
96# -- Argument for `--kube-api-qps` (Controller).
97# Kube API QPS indicates the maximum queries-per-second of requests sent to the Kubernetes API, defaults to 50.
99# -- Argument for `--kube-api-burst` (Controller).
100# Burst indicates the maximum burst queries-per-second of requests sent to the Kubernetes API, defaults to 100.
102# -- Argument for `--allow-break-the-glass` (Controller).
103# AllowBreakTheGlass allows the controller to break the glass and modify Terraform states when the sync loop is broken.
104allowBreakTheGlass: false
105# -- Argument for `--cluster-domain` (Controller).
106# ClusterDomain indicates the cluster domain, defaults to cluster.local.
107clusterDomain: cluster.local
108# -- Argument for `--use-pod-subdomain-resolution` (Controller).
109# UsePodSubdomainResolution allow pod hostname/subdomain DNS resolution for the pod runner instead of IP based DNS resolution.
110usePodSubdomainResolution: false
111# -- Argument for `--use-priority-queue` (Controller).
112# Enable the priority queue feature to prioritize new/changed resources over resources loaded after a restart or resync.
113usePriorityQueue: true
114# -- Argument for `--quota-retry-enabled` (Controller).
115# Enable quota-aware retry when runner pod creation is rejected due to resource quota exhaustion.
116quotaRetryEnabled: false
117# -- Argument for `--quota-retry-delay` (Controller).
118# Base delay for retrying when runner quota is exhausted.
120# -- Argument for `--quota-retry-jitter-factor` (Controller).
121# Jitter factor applied to quota retry delay (e.g. 0.4 means up to 40% added to the base delay).
122quotaRetryJitterFactor: "0.4"
124 # -- Argument for `--feature-gates=ExternalArtifact=...` (Controller).
125 # Allow `ExternalArtifact` as a Terraform source. Requires Flux 2.7 or higher, whose `ExternalArtifact` CRD must be installed.
126 externalArtifact: false
127# -- Grace period for controller pod termination.
128# Argument for `--graceful-shutdown-timeout` (Controller) is (terminationGracePeriodSeconds - 10) or 0, whichever is higher.
129# Graceful shutdown will wait for active runners to finish without starting new ones.
130terminationGracePeriodSeconds: 250
133 tag: v4.38.0-v1alpha11
134 repository: ghcr.io/flux-iac/aws-primitive-modules
135# -- Runner-specific configurations
138 # -- Runner image repository
139 repository: cgr.dev/chainguard-private/tofu-controller-runner
140 # -- Runner image tag
141 # @default -- `.Chart.AppVersion`
142 tag: 0.17.0-r0@sha256:722624b9fcd41d3f4e52482f0a198027ecb7120c5d5bfb842673d797fda18072
144 # -- Maximum GRPC message size (Controller)
146 # -- Timeout for runner-creation (Controller)
147 creationTimeout: 5m0s
149 # -- If `true`, create a new runner service account
151 # -- Additional runner service Account annotations
153 # -- Runner service account to be used
155 # -- List of namespaces that the runner may run within (in addition to namespace of the controller itself)
158 # -- If `true`, bind `tf-runner-role` to the runner service account with a RoleBinding in each allowed namespace
159 # instead of one ClusterRoleBinding, so a runner can only access Secrets, ConfigMaps and Leases in its own namespace.
160 # A Terraform resource whose `cliConfigSecretRef` points to a Secret in another namespace will fail to reconcile.
161 namespacedRoleBindings: false
162# EKS-specific configurations
163# -- Create an AWS EKS Security Group Policy with the supplied Security Group IDs [See](https://docs.aws.amazon.com/eks/latest/userguide/security-groups-for-pods.html#deploy-securitygrouppolicy)
164eksSecurityGroupPolicy:
165 # -- Create the EKS SecurityGroupPolicy
167 # -- List of AWS Security Group IDs
175 # -- Enable Metrics Service
179 # -- Enable ServiceMonitor
181 # -- Install the ServiceMonitor into a different Namespace, as the monitoring stack one
182 # @default -- `.Release.Namespace`
184 # -- Assign additional labels according to Prometheus' serviceMonitorSelector matching labels
186 # -- Assign additional Annotations
188 # -- Change matching labels
190 # -- Set targetLabels for the serviceMonitor
193 # -- Set the scrape interval for the endpoint of the serviceMonitor
195 # -- Set the scrape timeout for the endpoint of the serviceMonitor
197 # -- Set metricRelabelings for the endpoint of the serviceMonitor
198 metricRelabelings: []
199 # -- Set relabelings for the endpoint of the serviceMonitor
201# -- Branch Planner-specific configurations
205 repository: ghcr.io/flux-iac/branch-planner
206 pullPolicy: IfNotPresent
208 # Additional deployment labels for the branch-planner
210 configMap: branch-planner
212 # Interval value to use for Source objects for branch planner Terraform objects.
214 # Pod-level security context
217 # Container-level security context
219 allowPrivilegeEscalation: false
223 readOnlyRootFilesystem: true
228 # Resource limits and requests