-
Notifications
You must be signed in to change notification settings - Fork 2
feat: Add tf-controller #1532
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
feat: Add tf-controller #1532
Conversation
Tiltfile
Outdated
@@ -11,6 +11,9 @@ if not os.path.exists("../cluster-bootstrap-controller"): | |||
if not os.path.exists("../cluster-controller"): | |||
fail("You need to git clone https://github.com/weaveworks/cluster-controller to a directory next to this") | |||
|
|||
if not os.path.exists("../tf-controller"): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not crazy about being opinionated about directories. Can we instead keep a local copy of a helm chart in the repo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would rather avoid duplication. Maybe we can add the HelmRepository/HelmRelease resources instead and let flux install it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about using the helm_remote extension instead? I tested it locally and it seems to work.
load('ext://helm_remote', 'helm_remote')
helm_remote('tf-controller',
repo_name='tf-controller',
repo_url='https://weaveworks.github.io/tf-controller',
namespace='flux-system')
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a good idea 👍 I tried with a directory of kustomizations and that worked too but I think we can keep it simple and use this extension ^^ instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also worried about things changing unexpectedly when main
gets pulled on tf-controller
Added tf-controller to Tiltfile for WGE via a helm_remote extension. It currently uses the default Helm chart values. The extensions pulls in the Helm charts in
./helm
which is why this has been added to .gitignore