forked from vmware-tanzu/tanzu-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix addon README lint (vmware-tanzu#745)
Signed-off-by: Lucheng Bao <luchengb@vmware.com>
- Loading branch information
Showing
1 changed file
with
10 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,25 @@ | ||
### Tanzu Addons Manager | ||
# Tanzu Addons Manager | ||
|
||
Tanzu Addons Manager manages the lifecycle of core addons like CNI, CPI, CSI, etc. It utilizes Kapp-controller's [packaging API](https://carvel.dev/kapp-controller/docs/latest/packaging/) and [App CR](https://carvel.dev/kapp-controller/docs/latest/app-spec/) to do the core addons lifecycle management. | ||
|
||
#### Watch | ||
## Watch | ||
|
||
Tanzu Addons Manager watches the following | ||
|
||
- Addons secret | ||
- Cluster CR | ||
- Kubeadm control plane | ||
- BOM configmap | ||
|
||
#### Workflow of Tanzu Addons Manager | ||
## Workflow of Tanzu Addons Manager | ||
|
||
1. receives a request | ||
2. reconciles the core package repository according to the TKR BOM configmap of the cluster | ||
3. reconciles all the addons secrets | ||
1. If it's a remote app (App CR that lives in one cluster but deploys resources in another cluster) | ||
1. reconciles the core package repository according to the TKR BOM configmap of the cluster | ||
1. reconciles all the addons secrets | ||
- If it's a remote app (App CR that lives in one cluster but deploys resources in another cluster) | ||
- Creates/updates addon data values secret on mgmt cluster | ||
- Get the remote cluster kubeconfig | ||
- Create/updates remote App CR in mgmt cluster that deploys resources in a remote cluster | ||
2. If it's not a remote app | ||
- If it's not a remote app | ||
- Creates/updates addon data values secret on the cluster that the addons secret points to | ||
- Creates/updates packageInstall CR on the cluster that the addons secret points to |