1
0
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:
Michał Tomczak
2025-12-06 11:46:36 +01:00
committed by GitHub
parent 65f0efffb7
commit 20f5693b9e

View File

@@ -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: