Commit Graph

7 Commits (2dd35d89bb9d8060b628e8ae2dbf39071590a598)

Author SHA1 Message Date
Arvind Iyengar b3f18ae356 Fix url check when package.yaml does not exist 2020-09-09 12:27:17 -07:00
Arvind Iyengar fb3fe857d4 Update validate and clean script to use clean-crds
By utilizing the `clean-crds` script, both `validate` and `clean` can cleanly deal with issues related to annotations added and files overlaid as part of the CRD chart process.
2020-09-09 12:26:01 -07:00
Arvind Iyengar e7b2a3934b Move revert_crd_changes into a new script
Before, the logic for reverting a CRD chart was located in `generate-patch` since it was the only script that required these changes. Now that the same logic is required on a `make clean` in order to support reverting just the generateCRDChart changes from local charts, this commit moves that logic out to its own script `clean-crds`.

Based on discussion in https://github.com/rancher/charts/pull/607#discussion_r483288658.
2020-09-09 12:05:15 -07:00
Brenda Rearden b395206a27 Add url check for package.yaml file, add to cleanup 2020-09-04 10:30:14 -07:00
Caleb Bron cb3b2acebd Remove helm vendored dependencies from charts 2020-08-13 12:22: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