Skip to content

Commit

Permalink
fix addon README lint (vmware-tanzu#745)
Browse files Browse the repository at this point in the history
Signed-off-by: Lucheng Bao <luchengb@vmware.com>
  • Loading branch information
blc1996 authored Oct 1, 2021
1 parent a8dc877 commit 1311c03
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions addons/README.md
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

0 comments on commit 1311c03

Please sign in to comment.