-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:krishgobinath/libcalico-go
- Loading branch information
Showing
107 changed files
with
6,232 additions
and
738 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 |
---|---|---|
|
@@ -12,3 +12,4 @@ checkouts | |
/report/*.xml | ||
/release | ||
Makefile.common* | ||
*.test |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
|
||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: (devel) | ||
creationTimestamp: null | ||
name: bgpconfigurations.crd.projectcalico.org | ||
spec: | ||
group: crd.projectcalico.org | ||
names: | ||
kind: BGPConfiguration | ||
listKind: BGPConfigurationList | ||
plural: bgpconfigurations | ||
singular: bgpconfiguration | ||
scope: Cluster | ||
versions: | ||
- name: v1 | ||
schema: | ||
openAPIV3Schema: | ||
description: BGPConfiguration contains the configuration for any BGP routing. | ||
properties: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation | ||
of an object. Servers should convert recognized schemas to the latest | ||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
type: string | ||
kind: | ||
description: 'Kind is a string value representing the REST resource this | ||
object represents. Servers may infer this from the endpoint the client | ||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
description: BGPConfigurationSpec contains the values of the BGP configuration. | ||
properties: | ||
asNumber: | ||
description: 'ASNumber is the default AS number used by a node. [Default: | ||
64512]' | ||
format: int32 | ||
type: integer | ||
logSeverityScreen: | ||
description: 'LogSeverityScreen is the log severity above which logs | ||
are sent to the stdout. [Default: INFO]' | ||
type: string | ||
nodeToNodeMeshEnabled: | ||
description: 'NodeToNodeMeshEnabled sets whether full node to node | ||
BGP mesh is enabled. [Default: true]' | ||
type: boolean | ||
serviceClusterIPs: | ||
description: ServiceClusterIPs are the CIDR blocks from which service | ||
cluster IPs are allocated. If specified, Calico will advertise these | ||
blocks, as well as any cluster IPs within them. | ||
items: | ||
description: ServiceClusterIPBlock represents a single whitelisted | ||
CIDR block for ClusterIPs. | ||
properties: | ||
cidr: | ||
type: string | ||
type: object | ||
type: array | ||
serviceExternalIPs: | ||
description: ServiceExternalIPs are the CIDR blocks for Kubernetes | ||
Service External IPs. Kubernetes Service ExternalIPs will only be | ||
advertised if they are within one of these blocks. | ||
items: | ||
description: ServiceExternalIPBlock represents a single whitelisted | ||
CIDR External IP block. | ||
properties: | ||
cidr: | ||
type: string | ||
type: object | ||
type: array | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: [] | ||
storedVersions: [] |
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,75 @@ | ||
|
||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: (devel) | ||
creationTimestamp: null | ||
name: bgppeers.crd.projectcalico.org | ||
spec: | ||
group: crd.projectcalico.org | ||
names: | ||
kind: BGPPeer | ||
listKind: BGPPeerList | ||
plural: bgppeers | ||
singular: bgppeer | ||
scope: Cluster | ||
versions: | ||
- name: v1 | ||
schema: | ||
openAPIV3Schema: | ||
properties: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation | ||
of an object. Servers should convert recognized schemas to the latest | ||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
type: string | ||
kind: | ||
description: 'Kind is a string value representing the REST resource this | ||
object represents. Servers may infer this from the endpoint the client | ||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
description: BGPPeerSpec contains the specification for a BGPPeer resource. | ||
properties: | ||
asNumber: | ||
description: The AS Number of the peer. | ||
format: int32 | ||
type: integer | ||
node: | ||
description: The node name identifying the Calico node instance that | ||
is peering with this peer. If this is not set, this represents a | ||
global peer, i.e. a peer that peers with every node in the deployment. | ||
type: string | ||
nodeSelector: | ||
description: Selector for the nodes that should have this peering. When | ||
this is set, the Node field must be empty. | ||
type: string | ||
peerIP: | ||
description: The IP address of the peer. | ||
type: string | ||
peerSelector: | ||
description: Selector for the remote nodes to peer with. When this | ||
is set, the PeerIP and ASNumber fields must be empty. For each | ||
peering between the local node and selected remote nodes, we configure | ||
an IPv4 peering if both ends have NodeBGPSpec.IPv4Address specified, | ||
and an IPv6 peering if both ends have NodeBGPSpec.IPv6Address specified. The | ||
remote AS number comes from the remote node’s NodeBGPSpec.ASNumber, | ||
or the global default if that is not set. | ||
type: string | ||
required: | ||
- asNumber | ||
- peerIP | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: [] | ||
storedVersions: [] |
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,64 @@ | ||
|
||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: (devel) | ||
creationTimestamp: null | ||
name: blockaffinities.crd.projectcalico.org | ||
spec: | ||
group: crd.projectcalico.org | ||
names: | ||
kind: BlockAffinity | ||
listKind: BlockAffinityList | ||
plural: blockaffinities | ||
singular: blockaffinity | ||
scope: Cluster | ||
versions: | ||
- name: v1 | ||
schema: | ||
openAPIV3Schema: | ||
properties: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation | ||
of an object. Servers should convert recognized schemas to the latest | ||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
type: string | ||
kind: | ||
description: 'Kind is a string value representing the REST resource this | ||
object represents. Servers may infer this from the endpoint the client | ||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
description: BlockAffinitySpec contains the specification for a BlockAffinity | ||
resource. | ||
properties: | ||
cidr: | ||
type: string | ||
deleted: | ||
description: Deleted indicates that this block affinity is being deleted. | ||
This field is a string for compatibility with older releases that | ||
mistakenly treat this field as a string. | ||
type: string | ||
node: | ||
type: string | ||
state: | ||
type: string | ||
required: | ||
- cidr | ||
- deleted | ||
- node | ||
- state | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: [] | ||
storedVersions: [] |
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,64 @@ | ||
|
||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: (devel) | ||
creationTimestamp: null | ||
name: clusterinformations.crd.projectcalico.org | ||
spec: | ||
group: crd.projectcalico.org | ||
names: | ||
kind: ClusterInformation | ||
listKind: ClusterInformationList | ||
plural: clusterinformations | ||
singular: clusterinformation | ||
scope: Cluster | ||
versions: | ||
- name: v1 | ||
schema: | ||
openAPIV3Schema: | ||
description: ClusterInformation contains the cluster specific information. | ||
properties: | ||
apiVersion: | ||
description: 'APIVersion defines the versioned schema of this representation | ||
of an object. Servers should convert recognized schemas to the latest | ||
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' | ||
type: string | ||
kind: | ||
description: 'Kind is a string value representing the REST resource this | ||
object represents. Servers may infer this from the endpoint the client | ||
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' | ||
type: string | ||
metadata: | ||
type: object | ||
spec: | ||
description: ClusterInformationSpec contains the values of describing | ||
the cluster. | ||
properties: | ||
calicoVersion: | ||
description: CalicoVersion is the version of Calico that the cluster | ||
is running | ||
type: string | ||
clusterGUID: | ||
description: ClusterGUID is the GUID of the cluster | ||
type: string | ||
clusterType: | ||
description: ClusterType describes the type of the cluster | ||
type: string | ||
datastoreReady: | ||
description: DatastoreReady is used during significant datastore migrations | ||
to signal to components such as Felix that it should wait before | ||
accessing the datastore. | ||
type: boolean | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
status: | ||
acceptedNames: | ||
kind: "" | ||
plural: "" | ||
conditions: [] | ||
storedVersions: [] |
Oops, something went wrong.