Commit Graph

14 Commits (f001dccd8aabd79e97ce722ba1a3c4237d9bab2f)

Author SHA1 Message Date
Arvind Iyengar d041c0d5c1 Fix remove_timestamp_from_diff in generate-patch
This commit resolves two issues that are found when working with charts:
- On a failed sed command for removing the timestamp, the patch also
fails to regenerate the CRD package. Since removing the timestamps on the patch
before or after generating the CRD package makes no difference, we can just
move the `remove_timestamp_from_diff` command to the end of the for loop.

- The sed command would fail depending on what type of sed you were using.
The easiest fix is to provide a backup file extension name like `.bak` and just
delete the file after generating it to have it work with both types of sed.

Related comment for second issue: https://github.com/rancher/dev-charts/pull/38#discussion_r458442691
2020-08-18 11:02:39 -07:00
Arvind Iyengar 45c2539d2a Revert "Fix remove_timestamp_from_diff in generate-patch"
This reverts commit ce3d7e2b86.
2020-08-18 10:56:01 -07:00
Arvind Iyengar ce3d7e2b86 Fix remove_timestamp_from_diff in generate-patch
This commit resolves two issues that are found when working with charts:
- On a failed sed command for removing the timestamp, the patch also
fails to regenerate the CRD package. Since removing the timestamps on the patch
before or after generating the CRD package makes no difference, we can just
move the `remove_timestamp_from_diff` command to the end of the for loop.
- The sed command would fail depending on what type of sed you were using.
The easiest fix is to provide a backup file extension name like `.bak` and just
delete the file after generating it to have it work with both types of sed.

Related comment for second issue: https://github.com/rancher/dev-charts/pull/38#discussion_r458442691
2020-08-18 10:46:00 -07:00
Caleb Bron cb3b2acebd Remove helm vendored dependencies from charts 2020-08-13 12:22:39 -07:00
Caleb Bron 943d41ec5b Run helm dependency on every chart 2020-08-11 16:30:13 -07:00
Caleb Bron c1ede43dc1 fix duplicate crd version add 2020-08-11 09:26:09 -07:00
Caleb Bron f6f0c3ddbe helm depency update on non package charts 2020-08-11 09:19:35 -07:00
Caleb Bron ef8a72e077 rancher-kiali-server init 2020-08-10 14:38:49 -07:00
Steven Crespo c973e986cd Update patch for mac compatibility 2020-08-06 13:14:29 -07:00
Arvind Iyengar b2eb4171f7 Move generated crd charts from docs/ to assets/ 2020-08-05 10:23:04 -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
Arvind Iyengar 2343ccc9c5 Add flag to delete empty files on patch 2020-08-03 12:02:30 -07:00
Daishan cbf706c0bf Move fetch after cd command 2020-08-03 09:54:00 -07:00
Denise Schannon 44e16849c3 Initial commit 2020-07-29 15:59:02 -07:00