From 9f53ef51d60585401d5a16fb9dd7113be518334a Mon Sep 17 00:00:00 2001 From: Boshi Lian Date: Sat, 22 Oct 2022 10:49:32 +0000 Subject: [PATCH] add more col for crd --- plugin/kubernetes/crd.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/plugin/kubernetes/crd.yaml b/plugin/kubernetes/crd.yaml index a9839ee9..1b9f62e4 100644 --- a/plugin/kubernetes/crd.yaml +++ b/plugin/kubernetes/crd.yaml @@ -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