-
Notifications
You must be signed in to change notification settings - Fork 306
What do do with example instances of capabilities provided via an addon #240
Comments
An idea is to use a config variable that instructs the installation of the example, (e.g. install_example: True), and then add an ytt template/overlay that does the necessary if the install_example is enabled. |
@jorgemoralespou can you give us a very concrete example of this so we can ensure we're grokking it? |
I'll expand on my comment and then on a possible solution (partial?). When a user installs something like Contour, there's 2 parts he needs to install to have a working environment:
Sometimes, a user might need to install one of such instances, sometimes he might need even more, so this issue is to raise 2 things:
This would be an example of the second item: values.yaml
overlays\contour-example.yaml: (to replace this file: https://github.com/vmware-tanzu/tce/blob/main/addons/packages/contour-operator/bundle/config/overlays/contour.yaml)
|
@joshrosso maybe from the above, and depending on your opinion, to add to this issue: #192 |
Feedback
We do provide some capabilities as addons (e.g. Contour operator) that let the user create specific instances of the capability (e.g. contour instance). Currently, in the 0.1.0 release, we do ship that instance by default (https://github.com/vmware-tanzu/tce/blob/main/extensions/contour/bundle/config/contour.yaml) but we should think:
This raises concerns on what type of documentation (via CLI) we should be providing the user when an addon is installed. When you look at helm, it does provide some output for the user to decide what to do next, in this case, how he can create that example instance.
Details
TCE build version:
v0.1.0
The text was updated successfully, but these errors were encountered: