kubespray/roles/kubernetes-apps/csi_driver
Eugene Marchanka eecaec2919
[vSphere-csi-driver] Custom namespace fails playbook (#9946)
* Fix: vSphere Error: `Apply a CSI secret manifest`

This PR will fix an issue that you will see on 2nd deploy when deploying External vSphere
How to re-produce:
1. Set custom `vsphere_csi_namespace: "vmware-system-csi"`
2. Deploy as usual
3. Observe no errors
4. Deploy 2nd time without `reset`
5. Playbook fails with:
```
TASK [kubernetes-apps/csi_driver/vsphere : vSphere CSI Driver | Apply a CSI secret manifest]
fatal: [node-00]: FAILED! => changed=true                                                                                                                                                 
  censored: 'the output has been hidden due to the fact that ''no_log: true'' was specified for this result'
```

* create namespace if does not exist

* lint fix

* try to fix lint errors

* fix `too few spaces before comment`

* change the order of applied manifests

* typo
2023-04-09 22:13:15 -07:00
..
aws_ebs pre-commit autocorrected files (#9750) 2023-02-06 01:35:16 -08:00
azuredisk Fix CSI drivers issues on Azure (#9153) 2022-08-18 00:56:36 -07:00
cinder pre-commit autocorrected files (#9750) 2023-02-06 01:35:16 -08:00
csi_crd clean up tags (#8880) 2022-05-31 07:52:53 -07:00
gcp_pd clean up tags (#8880) 2022-05-31 07:52:53 -07:00
upcloud pre-commit autocorrected files (#9750) 2023-02-06 01:35:16 -08:00
vsphere [vSphere-csi-driver] Custom namespace fails playbook (#9946) 2023-04-09 22:13:15 -07:00
OWNERS Add OWNERS file for OpenStack CSI driver and cloud controller (#5753) 2020-03-13 02:52:39 -07:00