mirror of
https://github.com/coreos/prometheus-operator.git
synced 2026-02-05 15:46:31 +01:00
docs: add missing metadata tags into manifests
This change adds missing `metadata` keys into Role manifests describing `v1 Endpoiints is deprecated...` warning
This commit is contained in:
@@ -53,6 +53,7 @@ Example of Role definition required by the Prometheus operator's Service Account
|
|||||||
```yaml
|
```yaml
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: Role
|
kind: Role
|
||||||
|
metadata:
|
||||||
name: prometheus-operator-kubelet
|
name: prometheus-operator-kubelet
|
||||||
rules:
|
rules:
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
@@ -72,6 +73,7 @@ Example of Role definition required by the Prometheus's Service Account to disco
|
|||||||
```yaml
|
```yaml
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: Role
|
kind: Role
|
||||||
|
metadata:
|
||||||
name: prometheus-kubelet
|
name: prometheus-kubelet
|
||||||
rules:
|
rules:
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
|
|||||||
Reference in New Issue
Block a user