Merge "Revert "Fix Cinder CSI""
This commit is contained in:
commit
95416d9a55
|
@ -246,15 +246,6 @@ spec:
|
||||||
app: csi-cinder-controllerplugin
|
app: csi-cinder-controllerplugin
|
||||||
spec:
|
spec:
|
||||||
serviceAccount: csi-cinder-controller-sa
|
serviceAccount: csi-cinder-controller-sa
|
||||||
tolerations:
|
|
||||||
# Make sure the pod can be scheduled on master kubelet.
|
|
||||||
- effect: NoSchedule
|
|
||||||
operator: Exists
|
|
||||||
# Mark the pod as a critical add-on for rescheduling.
|
|
||||||
- key: CriticalAddonsOnly
|
|
||||||
operator: Exists
|
|
||||||
nodeSelector:
|
|
||||||
node-role.kubernetes.io/master: ""
|
|
||||||
containers:
|
containers:
|
||||||
- name: csi-attacher
|
- name: csi-attacher
|
||||||
image: ${CONTAINER_INFRA_PREFIX:-quay.io/k8scsi/}csi-attacher:${CSI_ATTACHER_TAG}
|
image: ${CONTAINER_INFRA_PREFIX:-quay.io/k8scsi/}csi-attacher:${CSI_ATTACHER_TAG}
|
||||||
|
|
|
@ -3,6 +3,7 @@ set +x
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
$ssh_cmd mkdir -p /etc/kubernetes/
|
$ssh_cmd mkdir -p /etc/kubernetes/
|
||||||
|
$ssh_cmd cp /etc/pki/tls/certs/ca-bundle.crt /etc/kubernetes/ca-bundle.crt
|
||||||
|
|
||||||
if [ -n "${TRUST_ID}" ]; then
|
if [ -n "${TRUST_ID}" ]; then
|
||||||
KUBE_OS_CLOUD_CONFIG=/etc/kubernetes/cloud-config
|
KUBE_OS_CLOUD_CONFIG=/etc/kubernetes/cloud-config
|
||||||
|
|
|
@ -112,8 +112,7 @@ storage:
|
||||||
done
|
done
|
||||||
|
|
||||||
/usr/bin/update-ca-trust
|
/usr/bin/update-ca-trust
|
||||||
cp /etc/pki/tls/certs/ca-bundle.crt /etc/kubernetes/ca-bundle.crt
|
|
||||||
|
|
||||||
HTTP_PROXY="__HTTP_PROXY__"
|
HTTP_PROXY="__HTTP_PROXY__"
|
||||||
HTTPS_PROXY="__HTTPS_PROXY__"
|
HTTPS_PROXY="__HTTPS_PROXY__"
|
||||||
NO_PROXY="__NO_PROXY__"
|
NO_PROXY="__NO_PROXY__"
|
||||||
|
|
Loading…
Reference in New Issue