Skip to content

Conversation

@FxKu
Copy link
Member

@FxKu FxKu commented May 4, 2020

Setting internal defaults for the CRD config requires writing coalesce functions that check for empty values. This PR defines defaults for more string fields and adds a coalesce check for *bool (fields that are true by default). Other data types are not so urgent to fix and maybe we better plan to refactor the configuration anyway.

Two more things:

  • Secret template in values.yaml is aligned with internal default and values.crd file
  • Internal default of LogicalBackupS3SSE is set to "" to allow omitting it in the backup script. I removed some comments in the ConfigMap regarding logical backup to make sure sse is set to AES256 there, in case people work with this ConfigMap example and expect this setting

fixes #905
closes #944

@sdudoladov
Copy link
Member

👍

1 similar comment
@FxKu
Copy link
Member Author

FxKu commented May 4, 2020

👍

@FxKu FxKu merged commit 76d4352 into master May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Why the secret_name_template is different between helm and helm crd? Cpu limit value cannot be set

3 participants