Uploaded image for project: 'Knative Serving'
  1. Knative Serving
  2. SRVKS-74

Serving controller needs "list" networks permission during installation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • v0.4.0
    • v0.4.0
    • None
    • Serverless Sprint 165

      With SRVKS-33/SRVKS-34, knative-serving-operator requires permission (or cluster-admin role) in order to obtains network parameters. It appears that knative serving controller does not have the permission at the time knative-serving-operator installing knative.   The following error is observed in the serving controller's log.

      reflector.go:134] sigs.k8s.io/controller-runtime/pkg/cache/internal/informers_map.go:196: Failed to list *v1.Network: networks.config.openshift.io is forbidden: User "system:serviceaccount:knative-serving:controller" cannot list resource "networks" in API group "config.openshift.io" at the cluster scope
      

              wtam_at_redhat William Tam
              wtam_at_redhat William Tam
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: