mirror of https://github.com/prometheus/prometheus
update ServiceAccount for new kubernetes versions
Signed-off-by: Saeid Bostandoust <49065072+ssbostan@users.noreply.github.com>pull/11801/head
parent
49f775d8a0
commit
3c468cd4e8
|
@ -32,6 +32,17 @@ kind: ServiceAccount
|
|||
metadata:
|
||||
name: prometheus
|
||||
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
|
||||
kind: ClusterRoleBinding
|
||||
|
|
Loading…
Reference in New Issue