Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Experimental installation of addon components via kpt #297

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

bboreham
Copy link
Contributor

@bboreham bboreham commented Aug 28, 2020

I created a profiles package structured a bit like addons, that uses the kpt command to fetch and manipulate manifests.

(kpt must be already on your path for this to work)

As a demonstration, re-do the Weave Net installation and CIDR setting using kpt.

A PR to add the Kptfile for parameter setting is at weaveworks/weave#3853

@bboreham
Copy link
Contributor Author

Further musing:

  • We could remove the weave-net.yaml currently baked into the wksctl binary, or we could re-instate it as an option to avoid needing to fetch files from github.

  • I expected to be able to remove SetWeaveNetPodCIDRBlock(), but it is still called from wksctl init. This command needs updating to fit with current code, but given a more flexible templating system should perhaps not exist at all.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant