* e2e: add low number of file descriptors helper tip
Signed-off-by: Luis Rascao <luis.rascao@gmail.com>
* controplane: don't fail status update when no machines available/ready
Failing prevents requeing leading to high bootstrap times of the
controlplane, in most cases the machine is ready and with IP addresses
but the controller is waiting for a full sync.
Signed-off-by: Luis Rascao <luis.rascao@gmail.com>
---------
Signed-off-by: Luis Rascao <luis.rascao@gmail.com>
improved some logging
fixed small issue related to the change in the way CNI field is handled
Fixing comments for validate func in webhook
Cleaning up multus RKE2-on-CAPD manifests
updated godoc comment on API field for rke2controlplane
Removed unnecessary comment in external AWS templates
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
make generate afte minor fixes to API descriptions
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
fixed some regressions from refactoring
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
changed timeout value for golanci-lint GH action, because it was failing
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
First commit - drafting data struct docs
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
Added UML file for documenting structs
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
Adding first version of RKE2Config structs
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
Updating go modules because of changes in imports
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
did a go mod tidy
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
re-generated CRDs using make generate
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
fixed refactoring issue in webhook configuration
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
Dot at the end of comment line
Co-authored-by: Alexander Demicev <alexandr.demicev@suse.com>
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
Dot at the end of comment line
Co-authored-by: Alexander Demicev <alexandr.demicev@suse.com>
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
Adding dots in comment end of lines when necessary
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
Small improvements in comment formatting
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
Removed DeployRKE2Commands attribute because of duplicate usage
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
Replaced SecretRef and ConfigMapRef types by the generic v1.ObjectReference type
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
fixed additional issue with webhook refactoring
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
simplified EtcdBackupConfig struct field names
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
removed Snapshotter attribute from RKE2Agent/ServerConfig
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
changed ResolvConf attribute to reference a ConfigMap instead of a string with a path
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
changed EtcdMetricsExposed to EtcdMetricsExposurePolicy to replace bool with enum
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
replaced bool fields with enums as recommended by KubeAPI best practices
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
Capitalize acronym in KubeAPIServer
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
Co-authored-by: Alexander Demicev <alexandr.demicev@suse.com>
Fixed small issues related to capitalization of KubeAPIServer attribute
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
fixed issue of Kubebuilder enum validation + moved validation tags to structs fields instead of types
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
Changed LbServerPort to LoadBalancerPort with type int
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
capitalized some acronym attributes
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
Removed some unnecessary structs and annotations from Registry struct, will use another struct for marshalling yaml
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
Modify TLSConfig for registries to reference a single tls secret instead of three secrets
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
removed duplicate attributes between agent and server, and put them their own common struct
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
removed BootstrapData field in RKE2ConfigStatus struct
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
Small comment changes
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
moved multiple disableXXX attributes to single DisableComponents struct
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
refactoring back to bool and adding constants
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
Changed all Rke2Xxx structs to RKE2Xxx
Signed-off-by: Mohamed Belgaied Hassine <belgaied2@hotmail.com>
This is the initial scaffolding for the RKE2 provider. It includes a
bootstrap and control plane provider,
Signed-off-by: Richard Case <richard.case@outlook.com>