Skip to content

chore: remove default for sensitive values#169

Merged
cfis merged 1 commit intodocker-mailserver:masterfrom
the-veloper:patch-1
Jun 9, 2025
Merged

chore: remove default for sensitive values#169
cfis merged 1 commit intodocker-mailserver:masterfrom
the-veloper:patch-1

Conversation

@the-veloper
Copy link
Copy Markdown
Contributor

@the-veloper the-veloper commented May 29, 2025

Those values provide a default that cannot be overwritten with a secret, because they're added twice to the container. Commenting them out by default removes the empty string default in order to allow us to pass it from a secret. This also keeps it backwards compatible for people that want to keep the secret inline as well.

Edit: generally creating a values schema approach would be the best bet and removing any non-mandatory values from the defaults.

@the-veloper the-veloper requested a review from funkypenguin as a code owner May 29, 2025 07:12
@cfis
Copy link
Copy Markdown
Collaborator

cfis commented Jun 9, 2025

Sorry I missed this PR. Agreed on a schema approach - would happily take PR.

@cfis cfis merged commit 22f7d4c into docker-mailserver:master Jun 9, 2025
5 checks passed
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.

2 participants