Workaround to support self-signed vCenter certificate
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3c98e16e74
commit
ca8044b4ab
@ -4,6 +4,34 @@ resources:
|
|||||||
- cluster-template.yaml
|
- cluster-template.yaml
|
||||||
|
|
||||||
patchesStrategicMerge:
|
patchesStrategicMerge:
|
||||||
|
- |-
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: csi-vsphere-config
|
||||||
|
namespace: '${NAMESPACE}'
|
||||||
|
stringData:
|
||||||
|
data: |
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: csi-vsphere-config
|
||||||
|
namespace: kube-system
|
||||||
|
stringData:
|
||||||
|
csi-vsphere.conf: |+
|
||||||
|
[Global]
|
||||||
|
insecure-flag = true
|
||||||
|
thumbprint = "${VSPHERE_TLS_THUMBPRINT}"
|
||||||
|
cluster-id = "${NAMESPACE}/${CLUSTER_NAME}"
|
||||||
|
|
||||||
|
[VirtualCenter "${VSPHERE_SERVER}"]
|
||||||
|
user = "${VSPHERE_USERNAME}"
|
||||||
|
password = "${VSPHERE_PASSWORD}"
|
||||||
|
datacenters = "${VSPHERE_DATACENTER}"
|
||||||
|
|
||||||
|
[Network]
|
||||||
|
public-network = "${VSPHERE_NETWORK}"
|
||||||
|
type: Opaque
|
||||||
- |-
|
- |-
|
||||||
apiVersion: controlplane.cluster.x-k8s.io/v1beta1
|
apiVersion: controlplane.cluster.x-k8s.io/v1beta1
|
||||||
kind: KubeadmControlPlane
|
kind: KubeadmControlPlane
|
||||||
|
Loading…
Reference in New Issue
Block a user