Commit Graph

17 Commits (be34f01d44c03a2093c0dfcdb618e2c2623b5d1d)

Author SHA1 Message Date
Arvind Iyengar af224b91a1
Add additional information about OS option for airgap 2022-01-05 15:28:31 -08:00
Arvind Iyengar 775b4384da
Update README.md based on Steven's comments 2022-01-04 16:06:06 -08:00
Arvind Iyengar fa862966f2
Add repository-specific README.md 2022-01-04 13:30:34 -08:00
Arvind Iyengar 7b3d868ac7
Delete old README.mds and old scripts 2022-01-03 16:06:32 -08:00
Arvind Iyengar e8d80d248c
Regenerate template based on v0.2.0 release
```bash
make template
```
2021-05-17 15:54:09 -07:00
Arvind Iyengar d0a006101b
Point to dev-v2.6 and run make docs 2021-03-30 16:35:01 -07:00
Arvind Iyengar b2d21da3a2
Point to dev-v2.5 2021-02-08 14:14:31 -08:00
Arvind Iyengar 740f7c76fe
Bump version to v0.0.4 2021-02-08 13:36:36 -08:00
Arvind Iyengar 039b634616
Synchronize with alt branch 2021-01-15 15:16:56 -08:00
Arvind Iyengar 5d7c4c2acd
Migrate to the new docs and scripts
This commit just adds new files for the new scripts and modifies the README.md.

Signed-off-by: Arvind Iyengar <arvind.iyengar@rancher.com>
2021-01-14 22:58:53 -08:00
Brenda Rearden 915ac0edec Clean up old charts from merge 2020-10-01 11:49:22 -07:00
Arvind Iyengar 9b28515507 Add generateCRDChart.assumeOwnershipOfCRDs flag
This commit adds a new flag to the experimental feature of generating a CRD chart for charts that need to be able to assume the ownership of any existing CRDs within a cluster. It also modifies the existing `prepare-crd` script to use template files stored in the `./scripts/chart-templates/` directory instead of utilizing numerous `cat` commands in order to achieve the same result.

Feature charts with this flag enabled will differ from the normal CRD chart in the following ways:
- Instead of having CRDs from `crd/` in `templates/`, they will be relocated to `crd-manifest/`.
- On render, the CRDs in `crd-manifest` are placed into a ConfigMap that will be deployed on the cluster.
- On install / upgrade / rollback, a pre-install / pre-upgrade / pre-rollback hook Job that does a `kubectl apply -f` on the manifest within the crd-manifest ConfigMap (with appropriate RBAC credentials via a ServiceAccount, CRB, and ClusterRole) will install the CRDs onto the cluster.
- On uninstall, a delete hook Job does a `kubectl delete -f` on the manifest within the crd-manifest ConfigMap (with the same RBAC credentials) to remove the CRDs from the cluster.

At the moment, this will only be used by the `rancher-monitoring` chart.

Related Issue: https://github.com/rancher/rancher/issues/28326
2020-09-09 15:25:13 -07:00
Caleb Bron be4446bbb4 Remove provides-gvr from readme
This flag has moved outside of the crd splitting flag.
Also it is documented elsewhere, so we want to avoid
duplicate docs.
2020-09-08 11:46:02 -07:00
Brenda Rearden b395206a27 Add url check for package.yaml file, add to cleanup 2020-09-04 10:30:14 -07:00
Daishan 9ff011d5ff Update commit example of overriding a chart 2020-08-17 16:31:39 -07:00
Arvind Iyengar fcc8528186 Enable splitting CRDs to separate package
This commit adds script changes to automatically allow packages to split
the CRD components located in a crd/ directory into a separate package.

It also automatically adds in a validation yaml helper to the main package
to prevent a user from installing the base package without installing the crd
install package first.

Any package can enable the creation of a separate crd package by just adding
`splitCRDsIntoSeparatePackage: true` into the package.yaml, as shown in the
rancher-monitoring chart.
2020-08-04 10:40:45 -07:00
Denise Schannon 44e16849c3 Initial commit 2020-07-29 15:59:02 -07:00