Commit Graph

292 Commits (0c5af42322223d300869617ca0e33bd4d1b44d12)

Author SHA1 Message Date
Arvind Iyengar b24e4ee460
Merge pull request #1278 from aiyengar2/check_monitoring
Add dummy openAPIV3Schema on pre-install step
2021-06-22 10:30:14 -07:00
Donnie Adams 7b20ac89ce Bump aks-operator chart to 1.0.1-rc12 2021-06-22 08:49:04 -07:00
Donnie Adams c5552eb0de
Merge pull request #1287 from thedadams/bump-eks-v1.1.1-rc4
Bump eks-operator chart to 1.1.1-rc4
2021-06-21 16:33:25 -07:00
Donnie Adams 2e23e41254
Merge pull request #1288 from thedadams/bump-gke-v1.1.1-rc4
Bump gke-operator chart to 1.1.1-rc4
2021-06-21 16:33:15 -07:00
Donnie Adams 9d2ab0d8f9 Bump gke-operator chart to 1.1.1-rc4 2021-06-21 13:57:14 -07:00
Donnie Adams bafe6cded9 Bump eks-operator chart to 1.1.1-rc4 2021-06-21 13:31:07 -07:00
Michal Jura d86330f7c5
Bump aks-operator chart to 1.0.1-rc11 2021-06-21 19:12:21 +02:00
Jiaqi Luo 022b4453a3
Merge pull request #1277 from jiaqiluo/fix-alerting-driver 2021-06-18 23:21:21 -07:00
Jiaqi Luo 0a8d93a080 user the image rancher/kubectl to avoid runAsRoot 2021-06-18 15:51:02 -07:00
Jiaqi Luo 66506a37a9 bump rancher-backup to 2.2.0-rc2 2021-06-18 15:14:45 -07:00
Jiaqi Luo 26d9c3d28c update versions on multiple charts 2021-06-18 12:05:33 -07:00
Jiaqi Luo 494564d483 bump rancher-backup to 2.2.0-rc1 2021-06-16 21:04:22 -07:00
Arvind Iyengar 3202417f2d
Add dummy openAPIV3Schema to initContainer and log patch 2021-06-16 18:13:27 -07:00
Darren Shepherd 2a023fdc38 Bump rancher-webhook to 0.2.0-alpha02 2021-06-16 12:35:24 -07:00
Jacob Payne 0e089425ab
Fix/issue 32301 (#1247)
* cis 1.0.6 1.22 fixes

* make charts
2021-06-15 15:04:10 -07:00
Daishan Peng ed3d4f771f
Merge pull request #1262 from StrongMonkey/fleet-v0.3.6-rc2
Fleet v0.3.6 rc2
2021-06-14 09:10:28 -07:00
Jiaqi Luo a9dfdea9b4 support installing rancher-alerting-drivers in hardened cluster 2021-06-11 15:51:42 -07:00
Jiaqi Luo d9f7aa887b add missing permission in the podSecurityPolicy for rancher-prom2teams 2021-06-11 15:49:40 -07:00
Jiaqi Luo de95419e0c add missing permission in the podSecurityPolicy for rancher-sachet 2021-06-11 15:48:42 -07:00
Daishan ea50d27198 Update fleet to v0.3.6-rc2 2021-06-11 14:42:33 -07:00
Jiaqi Luo aab21e8493
Merge pull request #1256 from jiaqiluo/update-charts-build-scrpts 2021-06-11 14:34:45 -07:00
Jiaqi Luo 09f8f4b5bf update all charts' version to 100.0.0 2021-06-11 13:43:20 -07:00
Manuel Buil e56e520221 Add sriov chart
Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-06-11 17:36:57 +02:00
Jiaqi Luo a6980385e1 run make template to update templates 2021-06-09 16:58:43 -07:00
Nick Gerace 1c33d37907
Merge pull request #1261 from nickgerace/dev-v2.6-sprig-and-helm-are-not-fun
Force convert non-string buffer values for Logging 3.10.0
2021-06-09 18:28:42 -04:00
Daishan Peng 6da36d301f
Merge pull request #1257 from StrongMonkey/fleet-v0.3.6-rc1-2.6
Fleet v0.3.6-rc1
2021-06-09 15:05:09 -07:00
Daishan a9e2003ebb Make charts 2021-06-09 14:44:04 -07:00
Nick Gerace d9295e7c00 Force convert non-string buffer values for Logging 3.10.0
Force convert non-string buffer values for Logging 3.10.0. Remove
packageVersion 0 version of the chart.
2021-06-09 17:38:21 -04:00
Jiaqi Luo 4f1aa0319f
Merge pull request #1227 from jiaqiluo/pushprox-for-ingress-nginx-dev-v2.6 2021-06-09 12:22:24 -07:00
Nick Gerace c320d24d50 Fix logging 3.10.0 and remove bad chart 2021-06-09 12:48:00 -04:00
Jiaqi Luo 1157b4a153 add sub-charts for scraping ingress-nginx in rke and rke2 clusters 2021-06-08 19:06:50 -07:00
Jiaqi Luo 8bf9b82e91 Update rancher-pushprox to support overriding namespace and switching the workload type of the client between Deployment and DaemonSet by adding replicas and affinity in pod.spec 2021-06-08 18:35:00 -07:00
Daishan a8e8fb5957 Update fleet to v0.3.6-rc1 2021-06-08 17:23:51 -07:00
Nick Gerace d8d38e6082 Update logging to 3.10.0 and convert fluent-bit buffer fields to string 2021-06-08 17:49:10 -04:00
Jacob Payne f91fac2cf7
fix/issue 32993 (#1248)
* use journald to consume k3s logs

* make charts
2021-06-08 14:03:17 -07:00
Jacob Payne ba4492b7d4
Fix/issue 33092 (#1254)
* removed rke2 containers logging and added some extra settings to the fluentbit configmap

* charts
2021-06-08 13:54:27 -07:00
Arvind Iyengar a064b37d4e
Add kubelet and nodeExporter pushprox and bump image (#1245)
* Bump PushProx chart version

* Expose serviceMonitor endpoints and client SA RBAC

* Bump PushProx image to v0.1.0-rancher2

* Support hardened kubelet+nodeExporter & update k3s

* Generate charts

* Disable kubelet serviceMonitor if k3sServer enabled

* make charts
2021-06-04 15:33:21 -07:00
Donnie Adams e2e04c8f8e
Merge pull request #1244 from thedadams/bump-gke-v1.1.1-rc2 2021-06-04 14:59:06 -07:00
Donnie Adams c3219d0cbd Bump gke-operator chart to 1.1.1-rc2 2021-06-03 15:03:02 -07:00
Donnie Adams c44dfebdde Bump aks-operator chart to 1.0.1-rc7 2021-06-03 11:57:37 -07:00
Donnie Adams 06802f45b5 Bump eks-operator chart to 1.1.1-rc2 2021-06-02 15:28:04 -07:00
Arvind Iyengar 02ff0c9df8
Move establishing CRD logic to a helper template 2021-06-01 13:58:40 -07:00
Arvind Iyengar 5f3bbe4a36
Mimic Helm CRD install process by introducing wait
As part of the Helm CRD installation process shown [here](43853ea772/pkg/action/install.go (L160-L162)), charts that both attempt to install CRDs and then install resources (e.g. `len(totalItems) > 0`) invalidate the cache and attempt to get the CRDs again to `Give time for the CRD to be recognized.` before continuing the Helm installation.

Because Monitoring V2 currently does not observe this invalidation and wait, flakey race conditions documented in issues like https://github.com/rancher/rancher/issues/32025 and https://github.com/rancher/rancher/issues/29171 can be caused. This commit introduces that invalidation process.
2021-06-01 12:42:26 -07:00
Darren Shepherd b1dcdd1a87 Fix invalid tag in system-upgrade-controller 2021-05-28 18:48:05 -07:00
Colleen Murphy 556c9b1afa
Merge pull request #1213 from cmurphy/dev-v2.6-aks-operator
Add aks-operator charts
2021-05-28 11:23:41 -07:00
Colleen Murphy 2abda43f33 Add aks-operator package 2021-05-28 10:36:32 -07:00
Jiaqi Luo dac8de7d7e
Merge pull request #1214 from jiaqiluo/rancher-backup-105-rc1-dev-v2.6
[dev-v2.6] cut rancher-backup and rancher-backup-crd 1.1.100+up1.1.1
2021-05-26 09:23:33 -07:00
Donnie Adams 9f439d72ae
Merge pull request #1195 from thedadams/add-gke-operator 2021-05-26 09:06:11 -07:00
Donnie Adams b608a65c41 Add gke-operator 2021-05-26 08:43:08 -07:00
dbason 4e6c09f559
Add support for the kube audit log to v2 logging (#1223)
* Add logging for kube-audit

* Generate charts for d274040a
2021-05-25 17:23:13 -07:00
Jiaqi Luo ef298fe102
Merge pull request #1230 from jiaqiluo/update-monitoring-image-dev-v2.6
[dev-v2.6]update the image rancher/mirrored-library-nginx
2021-05-25 11:40:36 -07:00
Prachi Damle d016ae3c10
Merge pull request #1229 from prachidamle/cis_k8s_version_tag_26
Updating cis-operator image tag to deliver fix for k8s upgrade issue
2021-05-24 23:22:32 -07:00
Jiaqi Luo 5480033c84 update the image rancher/mirrored-library-nginx 2021-05-24 20:19:04 -07:00
Prachi Damle 7302e66ece Update CIS tag to include k8s version upgrade fix
No need to update packageVersion

Generated assets
2021-05-24 17:25:37 -07:00
Jiaqi Luo 84b66d8013 cut rancher-backup and rancher-backup-crd v1.1.1 2021-05-24 15:02:43 -07:00
Arvind Iyengar 75a96a7e94
Add validation on trying to deploy Grafana PVC 2021-05-24 11:35:04 -07:00
Arvind Iyengar 0bdbaf798d
Bump packageVersion 2021-05-24 11:28:48 -07:00
Arvind Iyengar 9c5c1c5ef3
Merge pull request #1224 from aiyengar2/fix_rke_2_etcd_default_2_6
[2.6] Add NoExecute toleration to rke2Etcd and remove key
2021-05-24 09:34:37 -07:00
Donnie Adams 8d7f56d799 Change eks-operator version to v1.1.1 2021-05-21 17:06:09 -07:00
Arvind Iyengar 6239716e10
Add NoExecute toleration to rke2Etcd and remove key
(cherry picked from commit a181ea3011)
2021-05-21 16:59:15 -07:00
Nick Gerace c9bf5990b0 Fix windows prefix path for logging 2021-05-19 20:17:39 -04:00
Arvind Iyengar e2c9a0746b
Fix monitoring Chart.yaml
This is required due to the change released in v0.1.0 of the charts-build-scripts to switch the package used for YAML marshalling / unmarshalling.

Note: This does not need a packageVersion bump since it has already been bumped once for this release.
(cherry picked from commit 7ec1716f66)
2021-05-17 15:39:49 -07:00
Arvind Iyengar 8845d9ae9f
Fix istio requirement.yaml
This is required due to the change released in v0.1.0 of the charts-build-scripts to switch the package used for YAML marshalling / unmarshalling.

(cherry picked from commit 5392d84cf6)
2021-05-17 15:39:40 -07:00
Arvind Iyengar ba726cdc6c
Fix alerting-drivers Chart.yaml
This is required due to the change released in v0.1.0 of the charts-build-scripts to switch the package used for YAML marshalling / unmarshalling.

Note: This does not need a packageVersion bump since it has already been bumped once for this release.
(cherry picked from commit e5415e48de)
2021-05-17 15:39:28 -07:00
Arvind Iyengar b350bb93e0
Remove rcVersions 2021-05-17 15:39:11 -07:00
Arvind Iyengar 1107be9199
Checkout current packages from dev-v2.6-source
```bash
git fetch upstream
git checkout upstream/dev-v2.6-source -- packages; git reset HEAD; git checkout -- packages/README.md
```

This overwrites the previous changes based on stuff currently in dev-v2.6-source today.
2021-05-17 15:34:49 -07:00
Arvind Iyengar 551327b14e
Checkout current packages from dev-v2.5-source
```bash
git fetch upstream
git checkout upstream/dev-v2.5-source -- packages; git reset HEAD; git checkout -- packages/README.md
```
2021-05-17 15:30:27 -07:00
Arvind Iyengar e0424d8ac0
Regenerate template based on v0.2.0 release
```bash
make template
```
2021-05-17 15:28:30 -07:00
Arvind Iyengar fd55955526
Remove packages/istio from the staging branch
This commit removes packages/istio from the staging branch.

This has been a long-standing pending maintenance task and should not have any impact on the staging branch.

Signed-off-by: Arvind Iyengar <arvind.iyengar@rancher.com>
2021-01-14 22:35:01 -08:00
actions 88defdad62 Generated changes 2020-09-28 22:35:02 +00:00
Daishan 2469c9213c Clean up folders 2020-09-22 16:26:19 -07:00
aiyengar2 f7cee8c5c7
Merge pull request #677 from aiyengar2/fix_magic_links
Fix broken magic links for Grafana and Prometheus
2020-09-22 14:56:33 -07:00
Darren Shepherd 161b04a5e6 fleet v0.3.0-beta3 2020-09-22 14:00:02 -07:00
Arvind Iyengar 92f0eca770 Add nginx proxy to Prometheus for magic links
This commit adds an nginx proxy in front of Prometheus that intercepts the requests that are sent to the Prometheus pod. This change was necessary since the Prometheus pod encounters issues with Rancher proxy URLs that are formatted like:

```
<server-url>/k8s/clusters/<cluster-id>/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-prometheus:9090/proxy
```

Specifically, if using the root_url option, it doubles up this URL when making requests for resources, e.g.
```
<server-url>/k8s/clusters/<cluster-id>/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-prometheus:9090/proxy/<my-path>
=>
<server-url>/k8s/clusters/<cluster-id>/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-prometheus:9090/proxy/k8s/clusters/<cluster-id>/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-prometheus:9090/proxy/<my-path>
```

However, this does not resolve the issue in https://github.com/rancher/rancher/issues/29068.
2020-09-22 11:20:57 -07:00
Arvind Iyengar d6c774aa42 Add nginx proxy to Grafana for magic links
This commit adds an nginx proxy in front of Grafana that intercepts the requests that are sent to the Grafana pod. This change was necessary since the Grafana pod encounters issues with Rancher proxy URLs that are formatted like:

```
<server-url>/k8s/clusters/<cluster-id>/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-grafana:80/proxy
```

Specifically, if using the root_url option, it doubles up this URL when making requests for resources, e.g.
```
<server-url>/k8s/clusters/<cluster-id>/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-grafana:80/proxy/<my-path>
=>
<server-url>/k8s/clusters/<cluster-id>/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-grafana:80/proxy/k8s/clusters/<cluster-id>/api/v1/namespaces/cattle-monitoring-system/services/http:rancher-monitoring-grafana:80/proxy/<my-path>
```
2020-09-22 11:20:57 -07:00
rajashree 37a8648cf8 Change encryption config field name in restore crd 2020-09-22 10:26:48 -07:00
maggieliu 34fdd14bca
Merge pull request #674 from aiyengar2/fix_monitoring_chart_hardened
Support monitoring in hardened RKE clusters
2020-09-22 10:04:58 -07:00
maggieliu 6edb750ce9
Merge pull request #675 from aiyengar2/fix_pushprox_chart_hardened
Support pushprox in hardened RKE clusters
2020-09-22 10:04:44 -07:00
Prachi Damle 0f786657a2
Merge pull request #676 from prachidamle/airgap_fix
Use global registry for security-scan and sonobuoy tool images to support airgapped setups
2020-09-21 20:59:38 -07:00
Jacob Payne 91d1dedca1
allow tolerations to be passed to fluentbit containers (#673) 2020-09-21 16:47:48 -07:00
Prachi Damle 42f30bfad1 Use the system_default_registry for security-scan and sonobuoy images
Deleting tgz assets
2020-09-21 15:21:56 -07:00
Steven Crespo 32f1b41934
Merge pull request #670 from PennyScissors/update-gk-v3.1.1
Update gatekeeper to version 3.1.1
2020-09-21 15:01:46 -07:00
Steven Crespo 5757f8cc15 Update gatekeeper to v3.1.1 2020-09-21 12:26:43 -07:00
Arvind Iyengar e3d6033572 Support monitoring in hardened RKE clusters
This commit adds support for deploying rancher-monitoring into hardened clusters.

It modifies some of the default securityContexts and does some misc. fixes such as:
- Removing default AppArmor PSP annotations from Grafana (related to https://github.com/helm/charts/issues/9090)
- Modifying rkeScheduler and rkeControllerManager to use localhost to scrape components since the endpoints aren't exposed in a hardened cluster

These changes have been verified on a hardened RKE cluster.
2020-09-21 12:04:07 -07:00
Arvind Iyengar 7d1332356c Support pushprox in hardened RKE clusters
This commit adds support for deploying rancher-pushprox into hardened clusters.

It introduces securityContexts and rearranges the RBAC in order to support a PodSecurityPolicy for the PushProx clients.

These changes have been verified on a hardened RKE cluster.
2020-09-21 00:20:45 -07:00
Arvind Iyengar 4da2300a26 Move pushprox RBAC into separate file 2020-09-21 00:20:10 -07:00
Jacob Payne 60c84b3c3b
fixed eks and k3s logging in airgap (#671) 2020-09-20 15:00:04 -07:00
Arvind Iyengar b80fb3a8ff Use separate namespace only for dashboards
This commit renames `grafana-dashboards` to `cattle-dashboards` and deprecates the `grafana-datasources` namespace in favor of the normal release namespace.

Related Issue: rancher/rancher#28887
2020-09-19 19:23:35 -07:00
Arvind Iyengar 0fa3a06de0 Split RBAC for ConfigMaps and Secrets
Related Issue: https://github.com/rancher/rancher/issues/29013
2020-09-19 19:23:33 -07:00
Arvind Iyengar 2e1ed1b130 Relocate Rancher roles to overlay/ 2020-09-19 19:00:23 -07:00
Daishan 89cb2793e9 Bump fleet, rancher-operator, webhook 2020-09-18 23:01:59 -07:00
Arvind Iyengar 95cf887f5f Add annotations that were left out on rebase
Dropped on accident in rebase https://github.com/rancher/charts/pull/641/files#diff-ed5b5b87cf149adc6a6408bf81993efdR681-R682
2020-09-18 17:08:11 -07:00
Brenda Rearden 34676b359a
Merge pull request #667 from brendarearden/image-updates
Set installer repo,tag in values.yaml
2020-09-18 16:41:06 -07:00
aiyengar2 034952747f
Merge pull request #666 from aiyengar2/fix_kube_dns_namespace
Create kube-dns service monitor in kube-system
2020-09-18 16:34:48 -07:00
Brenda Rearden 9932422f51 Set installer repo,tag in values.yaml 2020-09-18 15:56:15 -07:00
Rajashree Mandaogane 820f105aa2
Merge pull request #663 from mrajashree/upd
Update resourceset to include configmaps for clusterrepos
2020-09-18 15:37:18 -07:00
Arvind Iyengar 700975ee95 Create kube-dns service monitor in kube-system
This is required since, by default, we ignoreNamespaceSelectors.
2020-09-18 15:35:21 -07:00
aiyengar2 afb3af8690
Merge pull request #662 from aiyengar2/use_new_busybox
Replace rancher/busybox w/ rancher/library-busybox
2020-09-18 15:29:56 -07:00
rajashree b3cc3a717c Update resourceset to include configmaps for clusterrepos 2020-09-18 15:26:55 -07:00
Brenda Rearden 14f0a39a4a
Merge pull request #659 from brendarearden/image-updates
Image updates for Istio 1.7.1 and Kiali 1.23.0
2020-09-18 10:57:10 -07:00