DandyDeveloper / charts

Various helm charts migrated from [helm/stable] due to deprecation
https://dandydeveloper.github.io/charts
Apache License 2.0
156 stars 143 forks source link

redis-ha-4.23.0 - problems with ssh restore #266

Open yoshi314 opened 9 months ago

yoshi314 commented 9 months ago

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.

DandyDeveloper commented 7 months ago

@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.