kudobuilder / kudo

Kubernetes Universal Declarative Operator (KUDO)
https://kudo.dev
Apache License 2.0
1.18k stars 103 forks source link

Expand `kudo get` command #1658

Closed ANeumann82 closed 4 years ago

ANeumann82 commented 4 years ago

What this PR does / why we need it: Extends the kudo get command. It now supports

Examples:

kudo get all

List of current installed operators including versions and instances in namespace "default":
.
└── some-operator
    └── some-operator-0.1.0
        └── test

kudo get operators --output yaml

---
apiVersion: kudo.dev/v1beta1
kind: Operator
metadata:
  creationTimestamp: null
  name: some-operator
  namespace: default
spec:
  description: A fancy Operator
  kudoVersion: 0.16.0
status: {}

...

Fixes #556, #331