-
Notifications
You must be signed in to change notification settings - Fork 387
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Hongliang Liu <lhongliang@vmware.com>
- Loading branch information
1 parent
2e48977
commit db865f7
Showing
20 changed files
with
1,673 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
name: bgppolicies.crd.antrea.io | ||
spec: | ||
group: crd.antrea.io | ||
versions: | ||
- name: v1alpha1 | ||
served: true | ||
storage: true | ||
schema: | ||
openAPIV3Schema: | ||
type: object | ||
required: | ||
- spec | ||
properties: | ||
spec: | ||
type: object | ||
required: | ||
- nodeSelector | ||
properties: | ||
nodeSelector: | ||
type: object | ||
properties: | ||
matchExpressions: | ||
items: | ||
properties: | ||
key: | ||
type: string | ||
operator: | ||
enum: | ||
- In | ||
- NotIn | ||
- Exists | ||
- DoesNotExist | ||
type: string | ||
values: | ||
items: | ||
type: string | ||
pattern: "^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])?$" | ||
type: array | ||
type: object | ||
type: array | ||
matchLabels: | ||
x-kubernetes-preserve-unknown-fields: true | ||
localASN: | ||
type: integer | ||
format: int32 | ||
minimum: 64512 | ||
maximum: 65535 | ||
default: 64512 | ||
listenPort: | ||
type: integer | ||
format: int32 | ||
minimum: 1 | ||
maximum: 65535 | ||
default: 179 | ||
advertisements: | ||
type: object | ||
properties: | ||
service: | ||
type: object | ||
properties: | ||
clusterIPs: | ||
type: boolean | ||
externalIPs: | ||
type: boolean | ||
loadBalancerIPs: | ||
type: boolean | ||
pod: | ||
type: object | ||
properties: {} | ||
egress: | ||
type: object | ||
properties: {} | ||
bgpPeers: | ||
type: array | ||
items: | ||
type: object | ||
required: | ||
- address | ||
- asn | ||
properties: | ||
address: | ||
type: string | ||
format: cidr | ||
port: | ||
type: integer | ||
format: int32 | ||
minimum: 1 | ||
maximum: 65535 | ||
default: 179 | ||
asn: | ||
type: integer | ||
format: int32 | ||
minimum: 1 | ||
maximum: 65535 | ||
multihopTTL: | ||
type: integer | ||
format: int32 | ||
minimum: 1 | ||
maximum: 255 | ||
default: 1 | ||
gracefulRestartTimeSeconds: | ||
type: integer | ||
format: int32 | ||
minimum: 1 | ||
maximum: 3600 | ||
default: 120 | ||
additionalPrinterColumns: | ||
- description: Local BGP AS number | ||
jsonPath: .spec.localASN | ||
name: Local ASN | ||
type: integer | ||
- jsonPath: .metadata.creationTimestamp | ||
name: Age | ||
type: date | ||
subresources: | ||
status: {} | ||
scope: Cluster | ||
names: | ||
plural: bgppolicies | ||
singular: bgppolicy | ||
kind: BGPPolicy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.