Add private CIDR for calico

This commit is contained in:
Philipp
2022-04-30 00:11:07 +02:00
parent bfdca599b9
commit eb99ec5859
4 changed files with 32 additions and 4 deletions

17
templates/ccm.yaml.tpl Normal file
View File

@@ -0,0 +1,17 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: hcloud-cloud-controller-manager
namespace: kube-system
spec:
template:
spec:
containers:
- name: hcloud-cloud-controller-manager
command:
- "/bin/hcloud-cloud-controller-manager"
- "--cloud-provider=hcloud"
- "--leader-elect=false"
- "--allow-untagged-cloud"
- "--allocate-node-cidrs=true"
- "--cluster-cidr=${cluster_cidr_ipv4}"