(dev-v2.6-archive) Rebase to new upstream at kube-prometheus-stack

The old upstream at https://github.com/helm/charts/tree/master/stable/prometheus-operator has been deprecated in favor of the chart at https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack.

This commit modifies the rancher-monitoring patch in order to rebase to this new upstream, so it contains a ton of different changes to the patch file.

Related Issue: rancher/rancher#28822

(partially cherry picked from commit 178528b12c)
pull/1680/head
Arvind Iyengar 2020-09-12 18:47:51 -07:00
parent 187233ac3f
commit b8cec21d48
No known key found for this signature in database
GPG Key ID: A8DD9BFD6C811498
5 changed files with 427 additions and 519 deletions

View File

@ -1,4 +1,4 @@
url: https://kubernetes-charts.storage.googleapis.com/prometheus-operator-8.16.1.tgz
url: https://github.com/prometheus-community/helm-charts/releases/download/kube-prometheus-stack-9.4.2/kube-prometheus-stack-9.4.2.tgz
packageVersion: 00
generateCRDChart:
enabled: true

File diff suppressed because it is too large Load Diff

View File

@ -9,5 +9,4 @@ annotations:
catalog.cattle.io/certified: rancher
catalog.cattle.io/namespace: rio-system
catalog.cattle.io/release-name: rio
catalog.cattle.io/experimental: true
catalog.cattle.io/requires-gvr: networking.istio.io.virtualservice/v1beta1
catalog.cattle.io/experimental: true

View File

@ -12,7 +12,12 @@ See values.yaml for installation options.
## Prerequisites
Rio requires Kubernetes 1.15 or newer cluster.
1. Rio requires Kubernetes 1.15 or newer cluster.
1. Helm installed in the cluster. If Tiller and its service account are not already installed run the following:
```bash
$ kubectl apply -f helm/tiller-serviceaccount.yaml
$ helm init --service-account tiller
```
## Installation

View File

@ -0,0 +1,20 @@
# This grants Helm/tiller the cluster admin role.
apiVersion: v1
kind: ServiceAccount
metadata:
name: tiller
namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: tiller-cluster-rule
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: tiller
namespace: kube-system