github.com/alibaba/sealer@v0.8.6-0.20220430115802-37a2bdaa8173/applications/calico/etc/custom-resources.yaml (about) 1 # Copyright © 2021 Alibaba Group Holding Ltd. 2 # 3 # Licensed under the Apache License, Version 2.0 (the "License"); 4 # you may not use this file except in compliance with the License. 5 # You may obtain a copy of the License at 6 # 7 # http://www.apache.org/licenses/LICENSE-2.0 8 # 9 # Unless required by applicable law or agreed to in writing, software 10 # distributed under the License is distributed on an "AS IS" BASIS, 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 # See the License for the specific language governing permissions and 13 # limitations under the License. 14 15 # This section includes base Calico installation configuration. 16 # For more information, see: https://projectcalico.docs.tigera.io/v3.22/reference/installation/api#operator.tigera.io/v1.Installation 17 apiVersion: operator.tigera.io/v1 18 kind: Installation 19 metadata: 20 name: default 21 spec: 22 # Configures Calico networking. 23 registry: sea.hub:5000 24 calicoNetwork: 25 # Note: The ipPools section cannot be modified post-install. 26 ipPools: 27 - blockSize: 26 28 cidr: 100.64.0.0/10 29 encapsulation: VXLANCrossSubnet 30 natOutgoing: Enabled 31 nodeSelector: all() 32 33 --- 34 35 # This section configures the Calico API server. 36 # For more information, see: https://projectcalico.docs.tigera.io/v3.22/reference/installation/api#operator.tigera.io/v1.APIServer 37 apiVersion: operator.tigera.io/v1 38 kind: APIServer 39 metadata: 40 name: default 41 spec: {}