Skip to content

Commit

Permalink
tofu-controller
Browse files Browse the repository at this point in the history
  • Loading branch information
samcday committed Jun 26, 2024
1 parent 2207c5e commit 636311d
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 2 deletions.
10 changes: 10 additions & 0 deletions cluster/flux-system/helm-repos/tofu-controller.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: tofu-controller
namespace: flux-system
spec:
interval: 1h0s
type: oci
url: oci://ghcr.io/flux-iac/charts
5 changes: 3 additions & 2 deletions cluster/flux-system/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: flux-system
resources:
- root.yaml
- webhook-ingress.yaml
- root.yaml
- webhook-ingress.yaml
- tofu-controller.yaml
37 changes: 37 additions & 0 deletions cluster/flux-system/tofu-controller.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: tofu-controller
namespace: flux-system
spec:
chart:
spec:
chart: tf-controller
sourceRef:
kind: HelmRepository
name: tofu-controller
version: '0.16.0-rc.4'
interval: 1h0s
targetNamespace: flux-system
install:
crds: Create
remediation:
retries: -1
upgrade:
crds: CreateReplace
remediation:
retries: -1
values:
# https://github.com/flux-iac/tofu-controller/blob/main/charts/tofu-controller/values.yaml
replicaCount: 2
concurrency: 4
caCertValidityDuration: 24h
certRotationCheckFrequency: 30m
image:
tag: v0.16.0-rc.4
runner:
image:
tag: v0.16.0-rc.4
grpc:
maxMessageSize: 30

0 comments on commit 636311d

Please sign in to comment.