Skip to content

Commit

Permalink
Merge pull request #1272 from flux-iac/fix/tilt-helm-chart-ref
Browse files Browse the repository at this point in the history
Tilt: fix references to helm chart after renaming
  • Loading branch information
akselleirv authored Apr 3, 2024
2 parents cf74388 + 302dbd2 commit 600e9e0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ if os.path.exists('Tiltfile.local'):
namespace_create(tfNamespace)

# Download chart deps
local_resource("helm-dep-update", "helm dep update charts/tf-controller", trigger_mode=TRIGGER_MODE_MANUAL, auto_init=True)
local_resource("helm-dep-update", "helm dep update charts/tofu-controller", trigger_mode=TRIGGER_MODE_MANUAL, auto_init=True)

# Define resources
k8s_resource('chart-tf-controller',
k8s_resource('chart-tofu-controller',
labels=["deployments"],
new_name='controller')

k8s_resource('chart-tf-controller-branch-planner',
k8s_resource('chart-tofu-controller-branch-planner',
labels=["deployments"],
new_name='branch-planner')

Expand All @@ -32,7 +32,7 @@ if os.path.exists('config/tilt/helm/dev-values-local.yaml'):
helm_values.append('config/tilt/helm/dev-values-local.yaml')

k8s_yaml(helm(
"charts/tf-controller",
"charts/tofu-controller",
namespace=namespace,
values=helm_values,
))
Expand Down

0 comments on commit 600e9e0

Please sign in to comment.