File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3434 source /etc/kubernetes/apiserver-url.env
3535 fi
3636 exec /bin/aws-cloud-controller-manager \
37+ --cloud-config=$(CLOUD_CONFIG) \
3738 --cloud-provider=aws \
3839 --use-service-account-credentials=true \
3940 --configure-cloud-routes=false \
4344 --leader-elect-retry-period=26s \
4445 --leader-elect-resource-namespace=openshift-cloud-controller-manager \
4546 -v=2
47+ env :
48+ - name : CLOUD_CONFIG
49+ value : /etc/kubernetes-cloud-config/cloud.conf
4650 image : {{ .images.CloudControllerManager }}
4751 imagePullPolicy : IfNotPresent
4852 name : cloud-controller-manager
5963 - mountPath : /etc/kubernetes
6064 name : host-etc-kube
6165 readOnly : true
66+ - name : config-accm
67+ mountPath : /etc/kubernetes-cloud-config
68+ readOnly : true
6269 - name : trusted-ca
6370 mountPath : /etc/pki/ca-trust/extracted/pem
6471 readOnly : true
@@ -93,6 +100,12 @@ spec:
93100 key : node.kubernetes.io/not-ready
94101 operator : Exists
95102 volumes :
103+ - name : config-accm
104+ configMap :
105+ name : cloud-conf
106+ items :
107+ - key : cloud.conf
108+ path : cloud.conf
96109 - name : trusted-ca
97110 configMap :
98111 name : ccm-trusted-ca
You can’t perform that action at this time.
0 commit comments