Fix CSI drivers issues on Azure (#9153)
* Include missing azuredisk rbac manifest * Remove missing azure csi manifest * Remove invalid reference mount to waagent settings * Use cloud-config secret instead of /etc/kubernetes/cloud_config filepull/9191/head
parent
b36bb9115a
commit
49d869f662
|
@ -25,8 +25,8 @@
|
||||||
- {name: azure-csi-cloud-config-secret, file: azure-csi-cloud-config-secret.yml}
|
- {name: azure-csi-cloud-config-secret, file: azure-csi-cloud-config-secret.yml}
|
||||||
- {name: azure-csi-azuredisk-controller, file: azure-csi-azuredisk-controller-rbac.yml}
|
- {name: azure-csi-azuredisk-controller, file: azure-csi-azuredisk-controller-rbac.yml}
|
||||||
- {name: azure-csi-azuredisk-controller, file: azure-csi-azuredisk-controller.yml}
|
- {name: azure-csi-azuredisk-controller, file: azure-csi-azuredisk-controller.yml}
|
||||||
|
- {name: azure-csi-azuredisk-node-rbac, file: azure-csi-azuredisk-node-rbac.yml}
|
||||||
- {name: azure-csi-azuredisk-node, file: azure-csi-azuredisk-node.yml}
|
- {name: azure-csi-azuredisk-node, file: azure-csi-azuredisk-node.yml}
|
||||||
- {name: azure-csi-node-info-crd.yml.j2, file: azure-csi-node-info-crd.yml}
|
|
||||||
register: azure_csi_manifests
|
register: azure_csi_manifests
|
||||||
when: inventory_hostname == groups['kube_control_plane'][0]
|
when: inventory_hostname == groups['kube_control_plane'][0]
|
||||||
|
|
||||||
|
|
|
@ -165,9 +165,6 @@ spec:
|
||||||
- mountPath: /etc/kubernetes/
|
- mountPath: /etc/kubernetes/
|
||||||
name: azure-cred
|
name: azure-cred
|
||||||
readOnly: true
|
readOnly: true
|
||||||
- mountPath: /var/lib/waagent/ManagedIdentity-Settings
|
|
||||||
readOnly: true
|
|
||||||
name: msi
|
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
memory: 500Mi
|
memory: 500Mi
|
||||||
|
|
|
@ -150,9 +150,9 @@ spec:
|
||||||
path: /var/lib/kubelet/plugins_registry/
|
path: /var/lib/kubelet/plugins_registry/
|
||||||
type: DirectoryOrCreate
|
type: DirectoryOrCreate
|
||||||
name: registration-dir
|
name: registration-dir
|
||||||
- hostPath:
|
- secret:
|
||||||
path: /etc/kubernetes/
|
defaultMode: 0644
|
||||||
type: DirectoryOrCreate
|
secretName: cloud-config
|
||||||
name: azure-cred
|
name: azure-cred
|
||||||
- hostPath:
|
- hostPath:
|
||||||
path: /dev
|
path: /dev
|
||||||
|
|
Loading…
Reference in New Issue