utkuozdemir / pv-migrate

CLI tool to easily migrate Kubernetes persistent volumes
Apache License 2.0
1.63k stars 82 forks source link

Add helm rsync.fixPrivateKeyPerms option (#246) #247

Closed alex-vmw closed 1 year ago

alex-vmw commented 1 year ago

Types of changes

utkuozdemir commented 1 year ago

Thank you for the contribution!

alex-vmw commented 1 year ago

@utkuozdemir Is there any possible way that you can release version 1.4.1 with this fix?

utkuozdemir commented 1 year ago

Sure - it's gonna be 1.5.0 since it is a feature (semver). It's being released atm.

alex-vmw commented 1 year ago

@utkuozdemir I am so sorry, but I am testing 1.5.0 and I realized that there is an issue with the Helm white space formatting in my change. :( Since I have - before the if it removes all white space including the new line and renders as below:

period=5chmod 400 /root/.ssh/id_ed25519

I am not sure if there is a way to re-call 1.5.0 or do you want me to submit a fix on top of 1.5.0?

utkuozdemir commented 1 year ago

No problem at all, you can just open another PR to the main branch and we make the hotfix release v1.5.1.

Let's just also change one of the simple integration tests to set this flag to true, so we'd be sure that it works when passed.