rename cluster role & binding to match other binding names

This commit is contained in:
Mike Malone 2019-02-06 13:57:29 -08:00
parent 3a516d92aa
commit 0c53b0f310

View file

@ -13,7 +13,7 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: autocert-secret-management
name: autocert-controller
rules:
- apiGroups: [""]
resources: ["secrets"]
@ -24,11 +24,11 @@ rules:
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: autocert-secret-management
name: autocert-controller
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: autocert-secret-management
name: autocert-controller
subjects:
- kind: ServiceAccount
name: default