Skip to content

Commit

Permalink
Print columns for CRD with -o wide
Browse files Browse the repository at this point in the history
When users run get fni -o wide, they can now see each of the
most important columns in their kubectl output.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
  • Loading branch information
alexellis committed Feb 11, 2020
1 parent 711d34c commit 1ef3c46
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions artifacts/operator-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,21 @@ spec:
shortNames:
- fni
scope: Namespaced
subresources:
status: {}
additionalPrinterColumns:
- name: Domain
type: string
JSONPath: .spec.domain
- name: Function
type: string
JSONPath: .spec.function
- name: IngressType
type: string
JSONPath: .spec.ingressType
- name: TLS
type: boolean
JSONPath: .spec.tls.enabled
validation:
openAPIV3Schema:
properties:
Expand Down

0 comments on commit 1ef3c46

Please sign in to comment.