1 # Copyright (c) 2019 Intel Corporation.
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
16 apiVersion: rbac.authorization.k8s.io/v1beta1
40 kind: ClusterRoleBinding
41 apiVersion: rbac.authorization.k8s.io/v1beta1
45 apiGroup: rbac.authorization.k8s.io
49 - kind: ServiceAccount
51 namespace: kube-system
57 namespace: kube-system
62 name: kube-flannel-cfg
63 namespace: kube-system
76 "isDefaultGateway": true
89 "Network": "{{ kubeadm_pod_network_cidr }}",
95 apiVersion: extensions/v1beta1
99 namespace: kube-system
112 beta.kubernetes.io/arch: amd64
114 - key: node-role.kubernetes.io/master
117 serviceAccountName: flannel
120 image: quay.io/coreos/flannel:v0.10.0-amd64
139 fieldPath: metadata.name
140 - name: POD_NAMESPACE
143 fieldPath: metadata.namespace
148 mountPath: /etc/kube-flannel/
158 name: kube-flannel-cfg