Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tilt live reload for capz-controller-manager is broken #3497

Closed
nojnhuh opened this issue Apr 28, 2023 · 1 comment · Fixed by #3500
Closed

Tilt live reload for capz-controller-manager is broken #3497

nojnhuh opened this issue Apr 28, 2023 · 1 comment · Fixed by #3500
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@nojnhuh
Copy link
Contributor

nojnhuh commented Apr 28, 2023

/kind bug

What steps did you take and what happened:
Tilt's live reloading no longer works for capz-controller-manager since #3399. When a relevant file is changed, Tilt instead hangs at these logs trying to update capz-controller-manager while the old version still continues to run:

Will copy 1 file(s) to container: [capz-controller-manager-c97b7db77-cqqg9/manager]
- '/home/jon/github/capz/.tiltbuild/manager' --> '/manager'
tar: can't remove old file manager: Permission denied

What did you expect to happen:
Live reload works the way it used to.

Anything else you would like to add:
I tried adding --chmod=0777 to each of these but that didn't seem to help:

COPY --from=tilt-helper /process.txt .
COPY --from=tilt-helper /start.sh .
COPY --from=tilt-helper /restart.sh .
COPY manager .

Environment:

  • cluster-api-provider-azure version:
  • Kubernetes version: (use kubectl version):
  • OS (e.g. from /etc/os-release):
@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Apr 28, 2023
@nojnhuh
Copy link
Contributor Author

nojnhuh commented May 1, 2023

/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants