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:
listKind: VpcNatGatewayList
scope: Cluster
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
storage: true
schema:
......@@ -250,6 +260,9 @@ spec:
- JSONPath: .status.subnets
name: Subnets
type: string
- JSONPath: .spec.namespaces
name: Namespaces
type: string
validation:
openAPIV3Schema:
properties:
......@@ -423,6 +436,9 @@ spec:
- name: Available
type: number
JSONPath: .status.availableIPs
- name: ExcludeIPs
type: string
JSONPath: .spec.excludeIps
validation:
openAPIV3Schema:
properties:
......
......@@ -172,7 +172,17 @@ spec:
listKind: VpcNatGatewayList
scope: Cluster
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
storage: true
schema:
......@@ -249,6 +259,9 @@ spec:
- jsonPath: .status.subnets
name: Subnets
type: string
- jsonPath: .spec.namespaces
name: Namespaces
type: string
name: v1
schema:
openAPIV3Schema:
......@@ -445,6 +458,9 @@ spec:
- name: V6Available
type: number
jsonPath: .status.v6availableIPs
- name: ExcludeIPs
type: string
jsonPath: .spec.excludeIps
schema:
openAPIV3Schema:
type: object
......
......@@ -105,6 +105,9 @@ spec:
- name: Available
type: number
JSONPath: .status.availableIPs
- name: ExcludeIPs
type: string
JSONPath: .spec.excludeIps
validation:
openAPIV3Schema:
properties:
......@@ -343,6 +346,9 @@ spec:
- JSONPath: .status.subnets
name: Subnets
type: string
- JSONPath: .spec.namespaces
name: Namespaces
type: string
validation:
openAPIV3Schema:
properties:
......@@ -421,7 +427,17 @@ spec:
listKind: VpcNatGatewayList
scope: Cluster
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
storage: true
schema:
......
......@@ -118,6 +118,9 @@ spec:
- name: V6Available
type: number
jsonPath: .status.v6availableIPs
- name: ExcludeIPs
type: string
jsonPath: .spec.excludeIps
schema:
openAPIV3Schema:
type: object
......@@ -366,6 +369,9 @@ spec:
- jsonPath: .status.subnets
name: Subnets
type: string
- jsonPath: .spec.namespaces
name: Namespaces
type: string
name: v1
schema:
openAPIV3Schema:
......@@ -457,7 +463,17 @@ spec:
listKind: VpcNatGatewayList
scope: Cluster
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
storage: true
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