apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ../../rbac - role_binding.yaml # Comment the following 3 lines if you want to disable # the auth proxy (https://github.com/brancz/kube-rbac-proxy) # which protects your /metrics endpoint. - auth_proxy_service.yaml - auth_proxy_role.yaml - auth_proxy_role_binding.yaml patchesJson6902: # Modify ClusterRole to Role - target: group: rbac.authorization.k8s.io version: v1 kind: ClusterRole name: manager-role patch: |- - op: replace path: "/kind" value: Role