From bf1918712b88175162af2e0e00fd1039eaa8e580 Mon Sep 17 00:00:00 2001 From: Eric Chen Date: Sun, 21 Feb 2021 22:38:48 -0500 Subject: [PATCH] add columns to TransportServer CRD --- .../crd/Install/customresourcedefinitions.yml | 21 ++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/docs/_static/config_examples/crd/Install/customresourcedefinitions.yml b/docs/_static/config_examples/crd/Install/customresourcedefinitions.yml index e799e22d6..141622f4d 100644 --- a/docs/_static/config_examples/crd/Install/customresourcedefinitions.yml +++ b/docs/_static/config_examples/crd/Install/customresourcedefinitions.yml @@ -225,7 +225,26 @@ spec: - virtualServerAddress - virtualServerPort - pool - + additionalPrinterColumns: + - name: virtualServerAddress + type: string + description: IP address of virtualServer + jsonPath: .spec.virtualServerAddress + - name: virtualServerPort + type: integer + description: Port of virtualServer + jsonPath: .spec.virtualServerPort + - name: pool + type: string + description: Name of service + jsonPath: .spec.pool.service + - name: poolPort + type: string + description: Port of service + jsonPath: .spec.pool.servicePort + - name: Age + type: date + jsonPath: .metadata.creationTimestamp --- apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition