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