Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[openmpi] support imagePullSecrets #771

Merged
merged 1 commit into from May 9, 2018

Conversation

everpeace
Copy link
Contributor

@everpeace everpeace commented May 8, 2018

What is the problem?

When using openmpi package, end users often build their own docker images which would contain some their custom code and these images are possibly published to private repositories.

But, openmpi package doesn't support imagePullSecrets section so users can not pull from private repositories.

How the PR fixes it

In Kubernetes, I think there are two ways to pull private images.

The first one(add secrets to service accounts) would need a strong permission, that is edit for serviceaccoutns resources. This operation would be kind of administrative operaiotns. Thus, end users would not have such permission. So, I prefer to support the second one.

So, the PR

  • introduce imagePullSecrets parameter. This should be comma separated secret names to pull private imags. The parameter will be expanded to imagePullSecrets secition to pods definition.
  • If not set (=="null"), no secret would be fed to pods

This change is Reviewable

@everpeace
Copy link
Contributor Author

/assign @jiezhang @inc0
/cc @alsrgv @jlewi

Copy link

@inc0 inc0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Should we do it in tfjob as well? Worflow is largely the same

@everpeace
Copy link
Contributor Author

@inc0 Thank you for your review recently 👍 🙇

Should we do it in tfjob as well? Worflow is largely the same

Yes, I think we should. I'm happy to contribute to it. :-)

@jiezhang
Copy link

jiezhang commented May 9, 2018

/lgtm

@jiezhang
Copy link

jiezhang commented May 9, 2018

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jiezhang

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit ddaf529 into kubeflow:master May 9, 2018
saffaalvi pushed a commit to StatCan/kubeflow that referenced this pull request Feb 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants