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

Add kompose.image-pull-secret #1031

Closed
wants to merge 2 commits into from

Conversation

mikesimos
Copy link

fixes #897

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jun 5, 2018
@mikesimos mikesimos changed the title Add image pull secret Add kompose.image-pull-secret Jun 5, 2018
@hangyan
Copy link
Contributor

hangyan commented Jun 6, 2018

I think it's not the best solution. Even though we support imagePullSecrets in kompose, there still need a Secret to exist first. If the user can simple add the secrets to the default serviceaccount, we don't need to support this at all.

@mikesimos
Copy link
Author

Hi @hangyan. Can you point-out further info imagePullSecrets support in kompose? I couldn't find this feature supported somewhere in the code.
I think to further the expansion of kubernetes options support in kompose, will facilitate broader use of the tool ( see #897 ) . Bundling secrets close to the private image they are required for looks more intuitive and a cleaner solution to me.

@hangyan
Copy link
Contributor

hangyan commented Jun 7, 2018

@cdrage

@cdrage
Copy link
Member

cdrage commented Jun 7, 2018

@hangyan @mikesimos

I'm not opposed nor am I accepting of this. It's a tough decision.

In one case, we support imagePullSecrets but we dont support secrets.

The other case is the fact that this is a good intermediary step..

In my opinion, I believe we should delay this PR until #296 is completed. Kompose is meant to transition people whom are complete noobies to Kubernetes. Adding a label that supports image-pull-secrets but not explaining that you have to add secrets before hand isn't very Kompose-like.

@hangyan is right. The label can be completed instead by fully supporting secrets, rather than using an intermediary label. I'd suggest that we come back to this after #296 is completed and see if it's still applicable to merge.

@mikesimos
Copy link
Author

OK! Having imagePullSecrets functionality upstream would be great. Thanks both!

@cdrage
Copy link
Member

cdrage commented Jul 24, 2018

Hey @mikesimos does your PR here: #1040 override / close this one?

@mikesimos
Copy link
Author

Closing as #1040 overrides this. Thanks!

@mikesimos mikesimos closed this Jul 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow specifying imagePullSecret
4 participants