Skip to content

Commit

Permalink
Adding support for ToFu Controller for Terraform Backstage Integratio…
Browse files Browse the repository at this point in the history
…ns. (#242)

Signed-off-by: Elamaran Shanmugam <[email protected]>
  • Loading branch information
elamaran11 authored May 13, 2024
1 parent c96f4ef commit 830c5ea
Show file tree
Hide file tree
Showing 5 changed files with 72 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ bin/*
cover.out
__debug*
.vscode
.idea
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ kind: Provider
metadata:
name: provider-aws
spec:
package: xpkg.upbound.io/crossplane-contrib/provider-aws:v0.46.0
package: xpkg.upbound.io/crossplane-contrib/provider-aws:v0.48.0
2 changes: 1 addition & 1 deletion examples/ref-implementation/crossplane.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spec:
project: default
source:
repoURL: 'https://charts.crossplane.io/stable'
targetRevision: 1.14.5
targetRevision: 1.15.0
helm:
releaseName: crossplane
chart: crossplane
Expand Down
37 changes: 37 additions & 0 deletions examples/terraform-integrations/fluxcd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: fluxcd
namespace: argocd
labels:
env: dev
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: 'https://fluxcd-community.github.io/helm-charts'
targetRevision: 2.12.4
helm:
releaseName: flux2
values: |
helmController:
create: false
imageAutomationController:
create: false
imageReflectionController:
create: false
kustomizeController:
create: false
notificationController:
create: false
chart: flux2
destination:
server: 'https://kubernetes.default.svc'
namespace: flux-system
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
32 changes: 32 additions & 0 deletions examples/terraform-integrations/tofu-controller.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: gitops-terraform-controller
namespace: argocd
labels:
env: dev
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: 'https://flux-iac.github.io/tofu-controller'
targetRevision: v0.15.0
helm:
releaseName: tf-controller
values: |
allowCrossNamespaceRefs: true
watchAllNamespaces: true
awsPackage:
install: true
repository: ghcr.io/flux-iac/aws-primitive-modules
chart: tf-controller
destination:
server: 'https://kubernetes.default.svc'
namespace: flux-system
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true

0 comments on commit 830c5ea

Please sign in to comment.