347ba42866
benefit is replacing inline strings in yaml with proper files locally while still just deploying a single file to the remote host.
20 lines
584 B
YAML
20 lines
584 B
YAML
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=10.42.0.0/16"
|
|
image: hetznercloud/hcloud-cloud-controller-manager:latest
|
|
imagePullPolicy: Always
|