Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Kube OVN
Commits
d41c5e9b
Commit
d41c5e9b
authored
3 years ago
by
hzma
Browse files
Options
Download
Email Patches
Plain Diff
add print columns for subnet/vpc/vpc-nat-gw crd
parent
0c252cd3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
dist/images/install-pre-1.16.sh
+17
-1
dist/images/install-pre-1.16.sh
dist/images/install.sh
+17
-1
dist/images/install.sh
yamls/crd-pre-1.16.yaml
+17
-1
yamls/crd-pre-1.16.yaml
yamls/crd.yaml
+17
-1
yamls/crd.yaml
with
68 additions
and
4 deletions
+68
-4
dist/images/install-pre-1.16.sh
+
17
-
1
View file @
d41c5e9b
...
...
@@ -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:
...
...
This diff is collapsed.
Click to expand it.
dist/images/install.sh
+
17
-
1
View file @
d41c5e9b
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
yamls/crd-pre-1.16.yaml
+
17
-
1
View file @
d41c5e9b
...
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
yamls/crd.yaml
+
17
-
1
View file @
d41c5e9b
...
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment