Add K8s Services to the addressable resolver role.
@@ -25,6 +25,25 @@ rules: [] # Rules are automatically filled in by the controller manager.
---
+kind: ClusterRole
+apiVersion: rbac.authorization.k8s.io/v1
+metadata:
+ name: service-addressable-resolver
+ labels:
+ duck.knative.dev/addressable: "true"
+# Do not use this role directly. These rules will be added to the "addressable-resolver" role.
+rules:
+- apiGroups:
+ - ""
+ resources:
+ - services
+ verbs:
+ - get
+ - list
+ - watch
+
+---
+
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
