surahman edited a comment on pull request #3710:
URL: https://github.com/apache/incubator-heron/pull/3710#issuecomment-922278498


   I have begun the cleanup and initial 
[stubbing](https://github.com/surahman/incubator-heron/commit/be879d1277a2c1e0dae42fcc655efd204b8165bb).
 I have linked the API references below. The API reference for 
`listNamespacedConfigMap` states that only the namespace is a required 
parameter but I am running into issues with just providing the namespace. If 
you have any guidance on what to set these to it would be greatly appreciated, 
I am working on figuring them out.
   
   We will need to iterate over the `ConfigMap`s in the 
`KubernetesConstants.DEFAULT_NAMESPACE` and probe each for a key with the 
specified `podTemplateConfigMapName`. This data is stored as a String which 
will require the V1 YAML parser to convert it to the `V1PodTemplateSpec`. The 
routine will return the default constructed (empty) `V1PodTemplateSpec` if no 
Pod Template name is set via `--config-property`.
   
   
[`listNameSpacedConfigMapName`](https://javadoc.io/doc/io.kubernetes/client-java-api/latest/io/kubernetes/client/openapi/apis/CoreV1Api.html#listNamespacedConfigMap-java.lang.String-java.lang.String-java.lang.Boolean-java.lang.String-java.lang.String-java.lang.String-java.lang.Integer-java.lang.String-java.lang.String-java.lang.Integer-java.lang.Boolean-)
 API.
   
   
[`V1ConfigMap`](https://javadoc.io/static/io.kubernetes/client-java-api/7.0.0/io/kubernetes/client/openapi/models/V1ConfigMap.html)
 API.


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