Commit Graph

462 Commits (8e93f448d08ff24cf4eed3aac670db7b701778a1)

Author SHA1 Message Date
prachidamle 2e8885abaa Generated changes 2020-09-09 22:50:15 +00:00
Prachi Damle 8a2bdb9f2d
Merge pull request #586 from prachidamle/cis-v2-chart
CIS v2 charts
2020-09-09 15:49:36 -07:00
Prachi Damle b55e6ec019 Adding rancher-cis-benchmark-crds - CRD chart for CIS v2
Adding rancher-cis-benchmark - Main chart for deploying cis-operator

Review comments and changes CRDs and adding the roles

Adding default ClusterScanProfiles in a Configmap

Updating kubernetes version to have major.minor.patch

Package the CRDs within the original chart and add package.yaml

chart changes for tolerations, crds, added
global.cattle.systemDefaultRegistry

Review changes to removed nodeSelector helper, combine all cis clusterroles in one file

CRD name change and adding keywords, moving package.yaml one folder upi
Renamed hardened benchmark
Move providesGVR to chart.yaml
2020-09-09 15:45:25 -07:00
aiyengar2 dd45629861 Generated changes 2020-09-09 22:40:49 +00:00
aiyengar2 0a4fa534aa
Merge pull request #626 from aiyengar2/fix_validate_errors
Fix validate errors
2020-09-09 15:39:57 -07:00
Arvind Iyengar 7d5d73fdfb remove tgz 2020-09-09 15:25:13 -07:00
Arvind Iyengar 9fe6ed19c1 Use assumeOwnershipOfCRDs for rancher-monitoring 2020-09-09 15:25:13 -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
Arvind Iyengar 746bac1d78 Add clean to end of validate script 2020-09-09 15:05:46 -07:00
mrajashree 153171167f Generated changes 2020-09-09 20:02:31 +00:00
Rajashree Mandaogane adfea20f32
Merge pull request #594 from mrajashree/backup-restore-sep-charts
Add chart for backup-restore-operator
2020-09-09 13:01:46 -07:00
rajashree 4ad856c2cc Backup-restore-operator chart 2020-09-09 12:56:50 -07:00
cbron a61c6ba56d Generated changes 2020-09-09 19:56:48 +00:00
Caleb Bron 9a077fd522
Merge pull request #624 from brendarearden/script-changes
Add providesGVR to patch file and remove from package.yaml
2020-09-09 12:56:06 -07:00
Brenda Rearden da849a2dee Add providesGVR to patch file and remove from package.yaml 2020-09-09 12:52:34 -07:00
aiyengar2 d7f04d180f Generated changes 2020-09-09 19:48:49 +00:00
aiyengar2 af76c27d3e
Merge pull request #620 from aiyengar2/fix_local_split_crd_validate
Deprecate providesGVR flag and update validate script
2020-09-09 12:48:12 -07:00
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 a84d714801 Deprecate providesGVR flag
This commit deprecates the providesGVR flag used by charts in favor of charts adding this annotation directly to the patch of their chart (or their Chart.yaml).
2020-09-09 12:25:16 -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
cbron b6710d7846 Generated changes 2020-09-09 05:16:58 +00:00
Caleb Bron 5a7ccc9fc8
Merge pull request #622 from cbron/singular-crd-names
Make monitoring gvr singular
2020-09-08 22:16:19 -07:00
Caleb Bron f223cb6b6d Make monitoring gvr singular 2020-09-08 22:13:09 -07:00
cbron 167e041e07 Generated changes 2020-09-09 04:24:57 +00:00
Caleb Bron fcf4f3347b
Merge pull request #618 from brendarearden/fix-annotations
Update provides/requires gvr, added keywords
2020-09-08 21:24:17 -07:00
Brenda Rearden aa13a90e13 Update provides/requires gvr, added keywords 2020-09-08 21:12:11 -07:00
brendarearden cfa4f64f48 Generated changes 2020-09-08 23:44:53 +00:00
Brenda Rearden ab87fef1dd
Merge pull request #610 from brendarearden/kiali
Update to rancher image, remove extra end in helper
2020-09-08 16:43:48 -07:00
Brenda Rearden e6d0c9c8bf Add hidden annotation to kiali-server chart 2020-09-08 15:43:08 -07:00
Brenda Rearden 9808ea00df Update to rancher image, remove extra end in helper 2020-09-08 15:43:08 -07:00
aiyengar2 d185ba5c3b Generated changes 2020-09-08 21:08:29 +00:00
aiyengar2 b6d3998bce
Merge pull request #617 from aiyengar2/fix_jettech_image
Use Rancher mirror for jettech/kube-webhook-certgen
2020-09-08 14:07:47 -07:00
Arvind Iyengar 45335710e1 remove tgz 2020-09-08 13:42:13 -07:00
Arvind Iyengar 30aa33a5b1 Use Rancher mirror for jettech/kube-webhook-certgen 2020-09-08 13:41:17 -07:00
paynejacob cd321b2456 Generated changes 2020-09-08 20:02:08 +00:00
Jacob Payne 0e21736bed
use cattle system registry (#613) 2020-09-08 13:01:27 -07:00
cbron ec3161501e Generated changes 2020-09-08 18:51:32 +00:00
Caleb Bron beec24aab6
Merge pull request #604 from cbron/update-dependency-annotations
Update how we manage dependency annotations
2020-09-08 11:50:51 -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
Caleb Bron e290ba4d50 refresh assets 2020-09-04 20:48:26 -07:00
Caleb Bron 92211af12a update how we manage dependency annotations 2020-09-04 20:46:44 -07:00
aiyengar2 e09e5d97d4 Generated changes 2020-09-04 20:26:57 +00:00
aiyengar2 53dc624ee6
Merge pull request #582 from aiyengar2/monitoring_subcharts_private_registry
Add private registry support and use Rancher mirror images for Monitoring subcharts
2020-09-04 13:26:18 -07:00
Arvind Iyengar 3e3d488fd3 remove tgz 2020-09-04 12:07:58 -07:00
Arvind Iyengar 1b0deff7a9 Use Rancher images for monitoring subcharts 2020-09-04 12:07:58 -07:00
Arvind Iyengar bd24317ee8 Add private registry to monitoring subcharts 2020-09-04 12:07:58 -07:00
Arvind Iyengar 43efb64f82 Use fixed versions for subcharts of rancher-monitoring 2020-09-04 12:07:58 -07:00
brendarearden 6e7f4134cc Generated changes 2020-09-04 17:40:40 +00:00
Brenda Rearden 9fc0dd1ffd
Merge pull request #607 from brendarearden/script-changes
Add generate CRD for charts that don't have a url in package.yaml
2020-09-04 10:40:03 -07:00