Merge pull request #11801 from ssbostan/main

update ServiceAccount for new kubernetes versions
This commit is contained in:
Frederic Branczyk 2023-01-10 15:01:47 +01:00 committed by GitHub
commit f007555be1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,6 +33,15 @@ metadata:
name: prometheus name: prometheus
namespace: default namespace: default
--- ---
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
metadata: metadata: