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

--stdout output as List kind #73

Closed
surajssd opened this issue Aug 1, 2016 · 2 comments
Closed

--stdout output as List kind #73

surajssd opened this issue Aug 1, 2016 · 2 comments
Assignees

Comments

@surajssd
Copy link
Member

surajssd commented Aug 1, 2016

When user applies --stdout as commandline arg then we can output all the objects as encapsulated in kind: List.

So this is what openshift with oc import docker-compose does
I believe we can use metadata in List to display warnings!

apiVersion: v1
kind: List
metadata: {}
items:
- apiVersion: v1
  kind: ImageStream
[SNIP]
    dockerImageRepository: ""
- apiVersion: v1
  kind: DeploymentConfig
  metadata:
[SNIP]
      type: ImageChange
  status: {}
- apiVersion: v1
  kind: Service
  metadata:
    creationTimestamp: null
[SNIP]
  status:
    loadBalancer: {}
- apiVersion: v1
  kind: Service
  metadata:
    creationTimestamp: null
[SNIP]
    selector:
      deploymentconfig: mariadb
  status:
    loadBalancer: {}
@janetkuo
Copy link
Member

janetkuo commented Aug 1, 2016

+1 for this

@surajssd surajssd self-assigned this Aug 2, 2016
@ngtuna
Copy link
Contributor

ngtuna commented Aug 7, 2016

+1 for this

surajssd added a commit to surajssd/kompose that referenced this issue Aug 9, 2016
Now user gets a `List` kind object when putting eveything on
stdout or in a single file.

Fixes kubernetes#73
surajssd added a commit to surajssd/kompose that referenced this issue Aug 10, 2016
Now user gets a `List` kind object when putting eveything on
stdout or in a single file.

Fixes kubernetes#73
surajssd added a commit to surajssd/kompose that referenced this issue Aug 10, 2016
Now user gets a `List` kind object when putting eveything on
stdout or in a single file.

Fixes kubernetes#73
surajssd added a commit to surajssd/kompose that referenced this issue Aug 10, 2016
Now user gets a `List` kind object when putting eveything on
stdout or in a single file.

Fixes kubernetes#73
surajssd added a commit to surajssd/kompose that referenced this issue Aug 11, 2016
Now user gets a `List` kind object when putting eveything on
stdout or in a single file.

Fixes kubernetes#73
surajssd added a commit to surajssd/kompose that referenced this issue Aug 11, 2016
Now user gets a `List` kind object when putting eveything on
stdout or in a single file.

Fixes kubernetes#73
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants