eks-anywhere icon indicating copy to clipboard operation
eks-anywhere copied to clipboard

preEtcdadmCommand does not run when etcdadmBuiltin is set to true

Open jiayiwang7 opened this issue 2 years ago • 0 comments

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.

jiayiwang7 avatar Sep 07 '22 01:09 jiayiwang7