nicknezis commented on pull request #3710:
URL: https://github.com/apache/incubator-heron/pull/3710#issuecomment-922017460


   Doing a bit of research, I see a `listNamespacedConfigMap` method that 
returns `V1ConfigMapList`. That class has a `getItems` 
[method](https://github.com/kubernetes-client/java/blob/f20788272291c0e79a8c831d8d5a7dd94d96d2de/kubernetes/src/main/java/io/kubernetes/client/openapi/models/V1ConfigMapList.java#L91)
 that returns a `List<V1ConfigMap>`. Not sure if there is a more direct way to 
get the specifically named `ConfigMap`, but this seems to match the logic in 
that Fabric8 example I previously linked to.


-- 
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