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

--deployment-config flag is not necessary #803

Closed
surajnarwade opened this issue Aug 30, 2017 · 11 comments
Closed

--deployment-config flag is not necessary #803

surajnarwade opened this issue Aug 30, 2017 · 11 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@surajnarwade
Copy link
Contributor

even when we don't provide --deployment-config flag, kompose creates deploymentconfig, so it doesn't make any sense to have this flag.

@cdrage
Copy link
Member

cdrage commented Aug 30, 2017

@surajnarwade it's used to disable --deployment-config being created

@surajnarwade
Copy link
Contributor Author

without flag

$ kompose convert --provider=openshift
INFO OpenShift file "foo-service.yaml" created    
INFO OpenShift file "foo-deploymentconfig.yaml" created 
INFO OpenShift file "foo-imagestream.yaml" created

and with flag,

 $ kompose convert --provider=openshift --deployment-config
INFO OpenShift file "foo-service.yaml" created    
INFO OpenShift file "foo-deploymentconfig.yaml" created 
INFO OpenShift file "foo-imagestream.yaml" created 

@cdrage ^^

@cdrage
Copy link
Member

cdrage commented Aug 30, 2017

@surajnarwade You're using it wrong, it's --deployment-config false would work. It's true by default

@surajnarwade
Copy link
Contributor Author

$ kompose convert --provider=openshift --deployment-config=false
INFO OpenShift file "foo-service.yaml" created    
INFO OpenShift file "foo-deploymentconfig.yaml" created 
INFO OpenShift file "foo-imagestream.yaml" created

@cdrage
Copy link
Member

cdrage commented Aug 31, 2017

Ah crap, it's a bug then. Let's fix this.

@cdrage cdrage added the kind/bug Categorizes issue or PR as related to a bug. label Aug 31, 2017
@surajnarwade
Copy link
Contributor Author

@cdrage , what's the use case for disabling deployment-config ?

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

Prevent issues from auto-closing with an /lifecycle frozen comment.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or @fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 5, 2018
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten
/remove-lifecycle stale

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Feb 9, 2018
@cdrage
Copy link
Member

cdrage commented Feb 13, 2018

/remove-lifecycle rotten

@k8s-ci-robot k8s-ci-robot removed the lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. label Feb 13, 2018
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 14, 2018
@cdrage
Copy link
Member

cdrage commented May 14, 2018

Yeah, this is deprecated. I'm going to close this. We've deprecated this for --controller

@cdrage cdrage closed this as completed May 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

4 participants