Wilfred Spiegelenburg created YUNIKORN-1490:
-----------------------------------------------
Summary: Only copy pull secrets when gang scheduling
Key: YUNIKORN-1490
URL: https://issues.apache.org/jira/browse/YUNIKORN-1490
Project: Apache YuniKorn
Issue Type: Improvement
Components: shim - kubernetes
Reporter: Wilfred Spiegelenburg
In the current setup we copy the image pull secrets from a pod and add it to
the tags. We do this always, without thinking if we need them.
We should only copy the secrets if the pod has gang scheduling annotations and
gang scheduling is enabled. That is the only case in which we need the secrets
as we need to propagate them to the placeholders.
We should also not add them to the tags but keep them in a seperate part of the
metadata as we do not want them in the core which is where they end up now as
part of the tags.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]