sbrother opened a new pull request, #668:
URL: https://github.com/apache/flink-kubernetes-operator/pull/668

   The current RBAC configuration does not give the cluster/job role (i.e. 
`flink`) access to the `services` API. This means that if you connect to a 
Flink Session Cluster and run `flink list`, you get the error
   ```io.fabric8.kubernetes.client.KubernetesClientException: Failure 
executing: GET at: 
https://10.100.0.1/api/v1/namespaces/default/services/flink-session-cluster-rest.
 Message: Forbidden!Configured service account doesn't have access. Service 
account may have been revoked. services "flink-session-cluster-rest" is 
forbidden: User "system:serviceaccount:default:flink" cannot get resource 
"services" in API group "" in the namespace "default".
   ```
   
   This one-line change adds the `services` API to the job/cluster role RBAC 
configuration, allowing users to run `flink list`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to