zhengcanbin commented on a change in pull request #11054: [FLINK-15652][K8s]
Support for imagePullSecrets K8s option.
URL: https://github.com/apache/flink/pull/11054#discussion_r378032034
##########
File path:
flink-kubernetes/src/main/java/org/apache/flink/kubernetes/utils/KubernetesUtils.java
##########
@@ -288,6 +290,21 @@ public static ResourceRequirements
getResourceRequirements(int mem, double cpu)
.build();
}
+ /**
+ * Parses comma-separated list of imagePullSecrets into
K8s-understandable format.
+ */
+ public static LocalObjectReference[] parseImagePullSecrets(@Nullable
String imagePullSecrets) {
Review comment:
Good catch. Will try it out.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services