|
| 1 | +apiVersion: apiextensions.k8s.io/v1 |
| 2 | +kind: CustomResourceDefinition |
| 3 | +metadata: |
| 4 | + annotations: |
| 5 | + controller-gen.kubebuilder.io/version: v0.17.3 |
| 6 | + name: bgpconfigurations.crd.projectcalico.org |
| 7 | +spec: |
| 8 | + group: crd.projectcalico.org |
| 9 | + names: |
| 10 | + kind: BGPConfiguration |
| 11 | + listKind: BGPConfigurationList |
| 12 | + plural: bgpconfigurations |
| 13 | + singular: bgpconfiguration |
| 14 | + preserveUnknownFields: false |
| 15 | + scope: Cluster |
| 16 | + versions: |
| 17 | + - name: v1 |
| 18 | + schema: |
| 19 | + openAPIV3Schema: |
| 20 | + description: BGPConfiguration contains the configuration for any BGP routing. |
| 21 | + properties: |
| 22 | + apiVersion: |
| 23 | + description: |- |
| 24 | + APIVersion defines the versioned schema of this representation of an object. |
| 25 | + Servers should convert recognized schemas to the latest internal value, and |
| 26 | + may reject unrecognized values. |
| 27 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
| 28 | + type: string |
| 29 | + kind: |
| 30 | + description: |- |
| 31 | + Kind is a string value representing the REST resource this object represents. |
| 32 | + Servers may infer this from the endpoint the client submits requests to. |
| 33 | + Cannot be updated. |
| 34 | + In CamelCase. |
| 35 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
| 36 | + type: string |
| 37 | + metadata: |
| 38 | + type: object |
| 39 | + spec: |
| 40 | + description: BGPConfigurationSpec contains the values of the BGP configuration. |
| 41 | + properties: |
| 42 | + asNumber: |
| 43 | + description: 'ASNumber is the default AS number used by a node. [Default: |
| 44 | + 64512]' |
| 45 | + format: int32 |
| 46 | + type: integer |
| 47 | + bindMode: |
| 48 | + description: |- |
| 49 | + BindMode indicates whether to listen for BGP connections on all addresses (None) |
| 50 | + or only on the node's canonical IP address Node.Spec.BGP.IPvXAddress (NodeIP). |
| 51 | + Default behaviour is to listen for BGP connections on all addresses. |
| 52 | + type: string |
| 53 | + communities: |
| 54 | + description: Communities is a list of BGP community values and their |
| 55 | + arbitrary names for tagging routes. |
| 56 | + items: |
| 57 | + description: Community contains standard or large community value |
| 58 | + and its name. |
| 59 | + properties: |
| 60 | + name: |
| 61 | + description: Name given to community value. |
| 62 | + type: string |
| 63 | + value: |
| 64 | + description: |- |
| 65 | + Value must be of format `aa:nn` or `aa:nn:mm`. |
| 66 | + For standard community use `aa:nn` format, where `aa` and `nn` are 16 bit number. |
| 67 | + For large community use `aa:nn:mm` format, where `aa`, `nn` and `mm` are 32 bit number. |
| 68 | + Where, `aa` is an AS Number, `nn` and `mm` are per-AS identifier. |
| 69 | + pattern: ^(\d+):(\d+)$|^(\d+):(\d+):(\d+)$ |
| 70 | + type: string |
| 71 | + type: object |
| 72 | + type: array |
| 73 | + ignoredInterfaces: |
| 74 | + description: IgnoredInterfaces indicates the network interfaces that |
| 75 | + needs to be excluded when reading device routes. |
| 76 | + items: |
| 77 | + type: string |
| 78 | + type: array |
| 79 | + listenPort: |
| 80 | + description: ListenPort is the port where BGP protocol should listen. |
| 81 | + Defaults to 179 |
| 82 | + maximum: 65535 |
| 83 | + minimum: 1 |
| 84 | + type: integer |
| 85 | + localWorkloadPeeringIPV4: |
| 86 | + description: |- |
| 87 | + The virtual IPv4 address of the node with which its local workload is expected to peer. |
| 88 | + It is recommended to use a link-local address. |
| 89 | + type: string |
| 90 | + localWorkloadPeeringIPV6: |
| 91 | + description: |- |
| 92 | + The virtual IPv6 address of the node with which its local workload is expected to peer. |
| 93 | + It is recommended to use a link-local address. |
| 94 | + type: string |
| 95 | + logSeverityScreen: |
| 96 | + description: 'LogSeverityScreen is the log severity above which logs |
| 97 | + are sent to the stdout. [Default: INFO]' |
| 98 | + type: string |
| 99 | + nodeMeshMaxRestartTime: |
| 100 | + description: |- |
| 101 | + Time to allow for software restart for node-to-mesh peerings. When specified, this is configured |
| 102 | + as the graceful restart timeout. When not specified, the BIRD default of 120s is used. |
| 103 | + This field can only be set on the default BGPConfiguration instance and requires that NodeMesh is enabled |
| 104 | + type: string |
| 105 | + nodeMeshPassword: |
| 106 | + description: |- |
| 107 | + Optional BGP password for full node-to-mesh peerings. |
| 108 | + This field can only be set on the default BGPConfiguration instance and requires that NodeMesh is enabled |
| 109 | + properties: |
| 110 | + secretKeyRef: |
| 111 | + description: Selects a key of a secret in the node pod's namespace. |
| 112 | + properties: |
| 113 | + key: |
| 114 | + description: The key of the secret to select from. Must be |
| 115 | + a valid secret key. |
| 116 | + type: string |
| 117 | + name: |
| 118 | + default: "" |
| 119 | + description: |- |
| 120 | + Name of the referent. |
| 121 | + This field is effectively required, but due to backwards compatibility is |
| 122 | + allowed to be empty. Instances of this type with an empty value here are |
| 123 | + almost certainly wrong. |
| 124 | + More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names |
| 125 | + type: string |
| 126 | + optional: |
| 127 | + description: Specify whether the Secret or its key must be |
| 128 | + defined |
| 129 | + type: boolean |
| 130 | + required: |
| 131 | + - key |
| 132 | + type: object |
| 133 | + x-kubernetes-map-type: atomic |
| 134 | + type: object |
| 135 | + nodeToNodeMeshEnabled: |
| 136 | + description: 'NodeToNodeMeshEnabled sets whether full node to node |
| 137 | + BGP mesh is enabled. [Default: true]' |
| 138 | + type: boolean |
| 139 | + prefixAdvertisements: |
| 140 | + description: PrefixAdvertisements contains per-prefix advertisement |
| 141 | + configuration. |
| 142 | + items: |
| 143 | + description: PrefixAdvertisement configures advertisement properties |
| 144 | + for the specified CIDR. |
| 145 | + properties: |
| 146 | + cidr: |
| 147 | + description: CIDR for which properties should be advertised. |
| 148 | + type: string |
| 149 | + communities: |
| 150 | + description: |- |
| 151 | + Communities can be list of either community names already defined in `Specs.Communities` or community value of format `aa:nn` or `aa:nn:mm`. |
| 152 | + For standard community use `aa:nn` format, where `aa` and `nn` are 16 bit number. |
| 153 | + For large community use `aa:nn:mm` format, where `aa`, `nn` and `mm` are 32 bit number. |
| 154 | + Where,`aa` is an AS Number, `nn` and `mm` are per-AS identifier. |
| 155 | + items: |
| 156 | + type: string |
| 157 | + type: array |
| 158 | + type: object |
| 159 | + type: array |
| 160 | + serviceClusterIPs: |
| 161 | + description: |- |
| 162 | + ServiceClusterIPs are the CIDR blocks from which service cluster IPs are allocated. |
| 163 | + If specified, Calico will advertise these blocks, as well as any cluster IPs within them. |
| 164 | + items: |
| 165 | + description: ServiceClusterIPBlock represents a single allowed ClusterIP |
| 166 | + CIDR block. |
| 167 | + properties: |
| 168 | + cidr: |
| 169 | + type: string |
| 170 | + type: object |
| 171 | + type: array |
| 172 | + serviceExternalIPs: |
| 173 | + description: |- |
| 174 | + ServiceExternalIPs are the CIDR blocks for Kubernetes Service External IPs. |
| 175 | + Kubernetes Service ExternalIPs will only be advertised if they are within one of these blocks. |
| 176 | + items: |
| 177 | + description: ServiceExternalIPBlock represents a single allowed |
| 178 | + External IP CIDR block. |
| 179 | + properties: |
| 180 | + cidr: |
| 181 | + type: string |
| 182 | + type: object |
| 183 | + type: array |
| 184 | + serviceLoadBalancerIPs: |
| 185 | + description: |- |
| 186 | + ServiceLoadBalancerIPs are the CIDR blocks for Kubernetes Service LoadBalancer IPs. |
| 187 | + Kubernetes Service status.LoadBalancer.Ingress IPs will only be advertised if they are within one of these blocks. |
| 188 | + items: |
| 189 | + description: ServiceLoadBalancerIPBlock represents a single allowed |
| 190 | + LoadBalancer IP CIDR block. |
| 191 | + properties: |
| 192 | + cidr: |
| 193 | + type: string |
| 194 | + type: object |
| 195 | + type: array |
| 196 | + type: object |
| 197 | + type: object |
| 198 | + served: true |
| 199 | + storage: true |
0 commit comments