What happened:
Cluster provisioning fails with state pending ,.The RKE2ControlPlane configuration contains privateRegistriesConfig with tls config with only insecureSkipVerify true without any secrets information .
``
privateRegistriesConfig:
<private registry> :
tls:
insecureSkipVerify: true
E1031 04:22:39.518589 1 controller.go:347] "Reconciler error" err="resource name may not be empty" controller="rke2config" controllerGroup="bootstrap.cluster.x-k8s.io" controllerKind="RKE2Config" RKE2Config="tb3-mw-system/tb3-mw-rvsws" namespace="tb3-smi-blr-mw-system" name="tb3-smi-blr-mw-rvsws" reconcileID="d80bd6d0-af45-4a3f-a2fa-6142b0348fa3"
What did you expect to happen:
Expected : Cluster provisioning is successful
How to reproduce it:
Create RKE2 cluster with RKE2ControlPlane having atleast one privateRegistriesConfig..tls.insecureSkipVerify set as true without providing any secret
Anything else you would like to add:
This workes directly with RKE2 as write_files ( i.e keeping only the insecureSkipVerify: true without tls files) but swtiching to rke2 crd approach failed as the code is expected a secret also . The requirement is to ignore the certificates as its in the same system
Environment:
- rke provider version: v0.20.1
What happened:
Cluster provisioning fails with state pending ,.The RKE2ControlPlane configuration contains privateRegistriesConfig with tls config with only insecureSkipVerify true without any secrets information .
``
What did you expect to happen:
Expected : Cluster provisioning is successful
How to reproduce it:
Create RKE2 cluster with RKE2ControlPlane having atleast one privateRegistriesConfig..tls.insecureSkipVerify set as true without providing any secret
Anything else you would like to add:
This workes directly with RKE2 as write_files ( i.e keeping only the insecureSkipVerify: true without tls files) but swtiching to rke2 crd approach failed as the code is expected a secret also . The requirement is to ignore the certificates as its in the same system
Environment: