-
Notifications
You must be signed in to change notification settings - Fork 772
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
Support converting OpenShift json <-> Kubernetes json/yaml #219
Comments
just to confirm, instead of transforming from docker formats to k8s/openshift, you would like to transform from openshift to k8s ? |
Correct. That is my initial goal, but I could also see a use case to switch from k8s manifests -> openshift |
Hi, Other way is problematic. OpenShift is superset of k8s. For most objects it will be ok (because they are same in openshift and k8s), but there are objects in OpenShift that cannot be easily mapped to Kubernetes, for example BuildConfig. Theoretically it can be done (to some degree), but I don't think that it is something that is in scope for Kompose. |
If it's out of scope that is fine (we can close this issue) I just think it may be a use case for some people. Me being one of those people where I often translate OpenShift -> Kubernetes manifests manually. It could help broaden available applications for both OpenShift and vanilla Kubernetes |
@rothgar this has come up a few times in OpenShift as well. Even if we don't want to do it here, I'd be open to implementing it in the OpenShift CLI or another command. I agree the idea of: deployment config -> deployment and vice versa would be very useful. |
I assumed kompose would be the tool to do the conversions. It'd be nice if I didn't need |
@rothgar let's definitely keep this issue open. We talked about supporting other input formats (like nomad Jobs) for example, so we could add openshift -> k8s conversion. And I agree that having only one conversion tool would be better. |
Issues go stale after 30d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
@fejta-bot @fejta How do I remove / whitelist the Kompose repo from this bot? |
Move it out of the kubernetes org |
@cdrage I think that this bot will be useful |
@fejta Okay, we'll keep it around 👍 |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle rotten |
Since there's been no activity since December and this has (mainly) been used as a Docker Compose to Kubernetes / OpenShift tool, I'm going to close this (for now). |
As a user I'd like to use OpenShift json files or Kubernetes yaml files to convert manifests from one environment to the other. This seems like it would be easier to support than docker-compose files but currently is a manual process (as far as I've found).
Maybe I missed an existing issue or PR (I searched) but this would be a great addition for both communities.
The text was updated successfully, but these errors were encountered: