mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-21 03:16:00 -08:00
update ServiceAccount for new kubernetes versions
Signed-off-by: Saeid Bostandoust <49065072+ssbostan@users.noreply.github.com>
This commit is contained in:
parent
49f775d8a0
commit
3c468cd4e8
|
@ -32,6 +32,17 @@ kind: ServiceAccount
|
||||||
metadata:
|
metadata:
|
||||||
name: prometheus
|
name: prometheus
|
||||||
namespace: default
|
namespace: default
|
||||||
|
secrets:
|
||||||
|
- name: prometheus-sa-token
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: prometheus-sa-token
|
||||||
|
namespace: default
|
||||||
|
annotations:
|
||||||
|
kubernetes.io/service-account.name: prometheus
|
||||||
|
type: kubernetes.io/service-account-token
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
kind: ClusterRoleBinding
|
kind: ClusterRoleBinding
|
||||||
|
|
Loading…
Reference in a new issue