Commit d41c5e9b authored by hzma's avatar hzma
Browse files

add print columns for subnet/vpc/vpc-nat-gw crd

parent 0c252cd3
Showing with 68 additions and 4 deletions
+68 -4
...@@ -163,7 +163,17 @@ spec: ...@@ -163,7 +163,17 @@ spec:
listKind: VpcNatGatewayList listKind: VpcNatGatewayList
scope: Cluster scope: Cluster
versions: versions:
- name: v1 - additionalPrinterColumns:
- JSONPath: .spec.vpc
name: Vpc
type: string
- JSONPath: .spec.subnet
name: Subnet
type: string
- JSONPath: .spec.lanIp
name: LanIP
type: string
name: v1
served: true served: true
storage: true storage: true
schema: schema:
...@@ -250,6 +260,9 @@ spec: ...@@ -250,6 +260,9 @@ spec:
- JSONPath: .status.subnets - JSONPath: .status.subnets
name: Subnets name: Subnets
type: string type: string
- JSONPath: .spec.namespaces
name: Namespaces
type: string
validation: validation:
openAPIV3Schema: openAPIV3Schema:
properties: properties:
...@@ -423,6 +436,9 @@ spec: ...@@ -423,6 +436,9 @@ spec:
- name: Available - name: Available
type: number type: number
JSONPath: .status.availableIPs JSONPath: .status.availableIPs
- name: ExcludeIPs
type: string
JSONPath: .spec.excludeIps
validation: validation:
openAPIV3Schema: openAPIV3Schema:
properties: properties:
......
...@@ -172,7 +172,17 @@ spec: ...@@ -172,7 +172,17 @@ spec:
listKind: VpcNatGatewayList listKind: VpcNatGatewayList
scope: Cluster scope: Cluster
versions: versions:
- name: v1 - additionalPrinterColumns:
- jsonPath: .spec.vpc
name: Vpc
type: string
- jsonPath: .spec.subnet
name: Subnet
type: string
- jsonPath: .spec.lanIp
name: LanIP
type: string
name: v1
served: true served: true
storage: true storage: true
schema: schema:
...@@ -249,6 +259,9 @@ spec: ...@@ -249,6 +259,9 @@ spec:
- jsonPath: .status.subnets - jsonPath: .status.subnets
name: Subnets name: Subnets
type: string type: string
- jsonPath: .spec.namespaces
name: Namespaces
type: string
name: v1 name: v1
schema: schema:
openAPIV3Schema: openAPIV3Schema:
...@@ -445,6 +458,9 @@ spec: ...@@ -445,6 +458,9 @@ spec:
- name: V6Available - name: V6Available
type: number type: number
jsonPath: .status.v6availableIPs jsonPath: .status.v6availableIPs
- name: ExcludeIPs
type: string
jsonPath: .spec.excludeIps
schema: schema:
openAPIV3Schema: openAPIV3Schema:
type: object type: object
......
...@@ -105,6 +105,9 @@ spec: ...@@ -105,6 +105,9 @@ spec:
- name: Available - name: Available
type: number type: number
JSONPath: .status.availableIPs JSONPath: .status.availableIPs
- name: ExcludeIPs
type: string
JSONPath: .spec.excludeIps
validation: validation:
openAPIV3Schema: openAPIV3Schema:
properties: properties:
...@@ -343,6 +346,9 @@ spec: ...@@ -343,6 +346,9 @@ spec:
- JSONPath: .status.subnets - JSONPath: .status.subnets
name: Subnets name: Subnets
type: string type: string
- JSONPath: .spec.namespaces
name: Namespaces
type: string
validation: validation:
openAPIV3Schema: openAPIV3Schema:
properties: properties:
...@@ -421,7 +427,17 @@ spec: ...@@ -421,7 +427,17 @@ spec:
listKind: VpcNatGatewayList listKind: VpcNatGatewayList
scope: Cluster scope: Cluster
versions: versions:
- name: v1 - additionalPrinterColumns:
- JSONPath: .spec.vpc
name: Vpc
type: string
- JSONPath: .spec.subnet
name: Subnet
type: string
- JSONPath: .spec.lanIp
name: LanIP
type: string
name: v1
served: true served: true
storage: true storage: true
schema: schema:
......
...@@ -118,6 +118,9 @@ spec: ...@@ -118,6 +118,9 @@ spec:
- name: V6Available - name: V6Available
type: number type: number
jsonPath: .status.v6availableIPs jsonPath: .status.v6availableIPs
- name: ExcludeIPs
type: string
jsonPath: .spec.excludeIps
schema: schema:
openAPIV3Schema: openAPIV3Schema:
type: object type: object
...@@ -366,6 +369,9 @@ spec: ...@@ -366,6 +369,9 @@ spec:
- jsonPath: .status.subnets - jsonPath: .status.subnets
name: Subnets name: Subnets
type: string type: string
- jsonPath: .spec.namespaces
name: Namespaces
type: string
name: v1 name: v1
schema: schema:
openAPIV3Schema: openAPIV3Schema:
...@@ -457,7 +463,17 @@ spec: ...@@ -457,7 +463,17 @@ spec:
listKind: VpcNatGatewayList listKind: VpcNatGatewayList
scope: Cluster scope: Cluster
versions: versions:
- name: v1 - additionalPrinterColumns:
- jsonPath: .spec.vpc
name: Vpc
type: string
- jsonPath: .spec.subnet
name: Subnet
type: string
- jsonPath: .spec.lanIp
name: LanIP
type: string
name: v1
served: true served: true
storage: true storage: true
schema: schema:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment