Commit 1e51b907 authored by Random-Liu's avatar Random-Liu

Update NPD rbac.

parent 948e3754
...@@ -7,7 +7,7 @@ metadata: ...@@ -7,7 +7,7 @@ metadata:
kubernetes.io/cluster-service: "true" kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile addonmanager.kubernetes.io/mode: Reconcile
--- ---
apiVersion: rbac.authorization.k8s.io/v1alpha1 apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding kind: ClusterRoleBinding
metadata: metadata:
name: npd-binding name: npd-binding
......
apiVersion: rbac.authorization.k8s.io/v1alpha1 apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding kind: ClusterRoleBinding
metadata: metadata:
name: npd-binding name: npd-binding
...@@ -10,6 +10,6 @@ roleRef: ...@@ -10,6 +10,6 @@ roleRef:
kind: ClusterRole kind: ClusterRole
name: system:node-problem-detector name: system:node-problem-detector
subjects: subjects:
- apiVersion: rbac/v1alpha1 - apiGroup: rbac.authorization.k8s.io
kind: User kind: User
name: system:node-problem-detector name: system:node-problem-detector
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment