Skip to content

Commit 874ae30

Browse files
committed
feat: deploy flux
1 parent e96e992 commit 874ae30

File tree

2 files changed

+1
-55
lines changed

2 files changed

+1
-55
lines changed

internal/flux_deployer/deployer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ func (d *FluxDeployer) DeployFluxControllers(ctx context.Context, rootComponentV
100100
}
101101

102102
// Template
103-
// TODO: parameters should be templatable in the manifest
104103
values := map[string]any{
105104
"Values": map[string]any{
106105
"namespace": d.fluxcdNamespace,
@@ -140,6 +139,7 @@ func (d *FluxDeployer) establishFluxSync(ctx context.Context, downloadDir string
140139
// - spec.path in the Kustomization
141140
values := map[string]any{
142141
"Values": map[string]any{
142+
"namespace": d.fluxcdNamespace,
143143
"git": map[string]any{
144144
"repoUrl": d.deploymentRepository,
145145
"mainBranch": d.deploymentRepositoryBranch,

internal/flux_deployer/unstructured.go

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)