surahman commented on pull request #3710: URL: https://github.com/apache/incubator-heron/pull/3710#issuecomment-932331781
From the error, this is undoubtedly a permissions issue and I am wondering if the `verb` actions in the role are adequate. I believe `configMapRef` are resolved by `kubelet` and it may have permissions to access the ConfigMaps. Pods presumably do not since they are in the concluding stages of bootstrapping - assuming the principle of least privilege. The call to `listNamespacedConfigMap`s does not deviate far from the default, so it is not undertaking anything which should have a need for specific permissions. From the fact that the Heron API Server is able to submit a topology to K8s using the V1 API, I think it is safe to assume that it does have a valid/accepted bearer token and credentials. My testing capabilities are severely restricted by system resources. -- 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]
