charts icon indicating copy to clipboard operation
charts copied to clipboard

redis-ha-4.23.0 - problems with ssh restore

Open yoshi314 opened this issue 1 year ago • 1 comments

Describe the bug I attempted to deploy helm chart with restore via ssh by adding

restore:
  ssh:
    source: login@server:~/automatic-cas-sandbox-memorydb-2024-01-03-05-04-0001.rdb
    key: "-----BEGIN OPENSSH PRIVATE KEY-----\n(....)\n-----END OPENSSH PRIVATE KEY-----"

What happens is

test-rec-redis-redis-ha-server-0 restore-ssh sh: can't create key: Permission denied
- test-rec-redis-redis-ha-server-0 › restore-ssh
+ test-rec-redis-redis-ha-server-0 › restore-ssh

I could use some help with debugging this.

yoshi314 avatar Jan 04 '24 08:01 yoshi314

@yoshi314 This looks like a potential chart bug from perms / securityContext / fsGroup on the SSH implementation. I'll try and take a look at recreating this.

DandyDeveloper avatar Feb 05 '24 17:02 DandyDeveloper

I had a hard time reproducing this in the latest chart. @yoshi314 Is this still a problem? If so, reopen! Thank you.

DandyDeveloper avatar Sep 13 '25 00:09 DandyDeveloper