eks-anywhere
eks-anywhere copied to clipboard
preEtcdadmCommand does not run when etcdadmBuiltin is set to true
Copying from https://github.com/mrajashree/etcdadm-bootstrap-provider/issues/14 since I have no write access to the mrajashree repo.
In etcdadmConfigSpec logic, preEtcdadmCommand is not added into cloud-init user data if etcdadmBuiltin is false.
https://github.com/aws/etcdadm-bootstrap-provider
Current logic: If etcdadmBuiltin is false, current logic is to add preEtcdadmCommand and etcdadmInstallCommands if defined.
Expected logic: preEtcdadmCommand should be added no matter what etcdadmBuiltin value is. If etcdadmBuiltin is false, current logic is to add etcdadmInstallCommands if defined.