kubespray/roles
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
..
adduser replace createhome (#9314) 2022-09-23 00:26:39 -07:00
bastion-ssh-config pre-commit autocorrected files (#9750) 2023-02-06 01:35:16 -08:00
bootstrap-os Fix CentOS Extras repo url for Oracle Linux 7 aarch64 (#9791) 2023-02-15 17:43:38 -08:00
container-engine fix allow unsupported distribution (#9904) 2023-03-21 01:35:09 -07:00
download [cilium] fix rbac and upgrade hubble v0.11.0 (#3) (#9959) 2023-04-09 22:07:15 -07:00
etcd fixed clinet to client 2023-02-20 10:09:03 +01:00
etcdctl Add kubeadm option to etcd_deployment_type to replace the etcd_kubeadm_enabled variable (#8317) 2022-02-22 08:53:16 -08:00
helm-apps Helm-apps role for installing helm charts (#8347) 2022-03-14 08:29:58 -07:00
kubernetes fix resatrt k8s components (#9962) 2023-04-09 19:51:15 -07:00
kubernetes-apps [vSphere-csi-driver] Custom namespace fails playbook (#9946) 2023-04-09 22:13:15 -07:00
kubespray-defaults [kubernetes] Add hashes for 1.26.3, 1.25.8, 1.24.12 (#9900) 2023-03-21 01:31:08 -07:00
network_plugin [cilium] fix rbac and upgrade hubble v0.11.0 (#3) (#9959) 2023-04-09 22:07:15 -07:00
recover_control_plane Use a variable for standardizing kubectl invocation (#8329) 2022-01-05 02:26:32 -08:00
remove-node Skip removing nodes if cluster is not set (#9430) 2023-01-03 05:03:32 -08:00
reset Fix a bug in removing kubelet data dir (#9764) 2023-02-08 19:04:36 -08:00
upgrade Fix drain rescue task when `kube_override_hostname` is set (#9556) 2022-12-08 16:02:11 -08:00
win_nodes/kubernetes_patch Use a variable for standardizing kubectl invocation (#8329) 2022-01-05 02:26:32 -08:00