Closed gaocegege closed 4 years ago
/assign @johnugeorge
@gaocegege Can't you override the whole initContainerTemplate? https://github.com/kubeflow/pytorch-operator/blob/master/pkg/common/config/config.go#L23
What is your requirement?
@johnugeorge The template yaml should be defined in build time. We need to update the image name in runtime.
Just wondering if mounting ConfigMap on a volume path doesn't work for you?
We can but prefer to keep flexibility. I just want to update the image and do not want to maintain a different template.
SGTM /lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: johnugeorge
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Fix #261
Signed-off-by: Ce Gao gaoce@caicloud.io