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 file
This commit is contained in:
parent
b36bb9115a
commit
49d869f662
3 changed files with 4 additions and 7 deletions
|
@ -25,8 +25,8 @@
|
|||
- {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.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-node-info-crd.yml.j2, file: azure-csi-node-info-crd.yml}
|
||||
register: azure_csi_manifests
|
||||
when: inventory_hostname == groups['kube_control_plane'][0]
|
||||
|
||||
|
|
|
@ -165,9 +165,6 @@ spec:
|
|||
- mountPath: /etc/kubernetes/
|
||||
name: azure-cred
|
||||
readOnly: true
|
||||
- mountPath: /var/lib/waagent/ManagedIdentity-Settings
|
||||
readOnly: true
|
||||
name: msi
|
||||
resources:
|
||||
limits:
|
||||
memory: 500Mi
|
||||
|
|
|
@ -150,9 +150,9 @@ spec:
|
|||
path: /var/lib/kubelet/plugins_registry/
|
||||
type: DirectoryOrCreate
|
||||
name: registration-dir
|
||||
- hostPath:
|
||||
path: /etc/kubernetes/
|
||||
type: DirectoryOrCreate
|
||||
- secret:
|
||||
defaultMode: 0644
|
||||
secretName: cloud-config
|
||||
name: azure-cred
|
||||
- hostPath:
|
||||
path: /dev
|
||||
|
|
Loading…
Reference in a new issue