Replies: 1 comment
-
|
Yeah, I've run into this too. I believe the K8up controller requires at least one field in the IIRC, the logic that assembles the I don't think there's a way to have a truly "empty" config right now. You'll likely need to keep providing one of those fields to satisfy the controller's internal validation. Usually, specifying just the bucket name is the path of least resistance here. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using several namespaces and I want them all to back up to the same s3 bucket. So I want as little duplication as possible, I especially don't want to put the secrets in every single namespace. The global environment variables are handy for this:
BACKUP_GLOBALS3ENDPOINTBACKUP_GLOBALS3BUCKETBACKUP_GLOBALACCESSKEYIDBACKUP_GLOBALSECRETACCESSKEYBACKUP_GLOBALREPOPASSWORDI did this with a
values.yamlpassed to the helm chart.What I hoped to be able to do is to have a backup in every namespace with just this:
So: nothing specified, except that I want an s3 backend. Which fails with an error:
If I specify the endpoint, the bucket/accesskey/etc global variables are picked up just fine.
Same when I specify the bucket: then the endpoint is picked up.
So: if "s3" itself is empty, it won't look at the global variables, but if I specify one of them (either bucket or endpoint), it works fine.
Is there a way to have such an "empty" s3 backend configuration?
Beta Was this translation helpful? Give feedback.
All reactions