diff --git a/chart/templates/deployment.yaml b/chart/templates/deployment.yaml index ee6ad901a6649b7cbf7fc2cf6196bf06ebdb54ce..16ccfa7f1231b4cb5ba0bc84becbc1bdd69f96cc 100644 --- a/chart/templates/deployment.yaml +++ b/chart/templates/deployment.yaml @@ -62,8 +62,7 @@ spec: {{- end }} containers: - name: hcloud-cloud-controller-manager - command: - - "/bin/hcloud-cloud-controller-manager" + args: {{- range $key, $value := $.Values.args }} {{- if not (eq $value nil) }} - "--{{ $key }}{{ if $value }}={{ $value }}{{ end }}" diff --git a/deploy/ccm-networks.yaml b/deploy/ccm-networks.yaml index 134f0a1f16135de5495b672c2ff165a41a0efffc..56e58efb57df51387a21245025bc9347a1cf4e46 100644 --- a/deploy/ccm-networks.yaml +++ b/deploy/ccm-networks.yaml @@ -60,8 +60,7 @@ spec: hostNetwork: true containers: - name: hcloud-cloud-controller-manager - command: - - "/bin/hcloud-cloud-controller-manager" + args: - "--allow-untagged-cloud" - "--cloud-provider=hcloud" - "--route-reconciliation-period=30s" diff --git a/deploy/ccm.yaml b/deploy/ccm.yaml index 0372bbb3064c0c8273cae60116cbac06aabdd690..6d06ee73620a86348763f2911eeef52323615715 100644 --- a/deploy/ccm.yaml +++ b/deploy/ccm.yaml @@ -59,8 +59,7 @@ spec: effect: "NoExecute" containers: - name: hcloud-cloud-controller-manager - command: - - "/bin/hcloud-cloud-controller-manager" + args: - "--allow-untagged-cloud" - "--cloud-provider=hcloud" - "--route-reconciliation-period=30s"