add more col for crd

This commit is contained in:
Boshi Lian 2022-10-22 10:49:32 +00:00
parent 319824e564
commit 9f53ef51d6

View file

@ -71,5 +71,16 @@ spec:
required:
- spec
type: object
additionalPrinterColumns:
- jsonPath: .spec.from[0].username
name: FromUser
type: string
- jsonPath: .spec.to.username
name: ToUser
type: string
- jsonPath: .spec.to.host
name: ToHost
type: string
served: true
storage: true