Add secretEnvironment maps to charts #47

Merged
mathieu merged 1 commit from lain/separate-secret-environment-20261013065722 into main 2026-10-13 08:30:11 +00:00
Collaborator

Adds a separate secretEnvironment map to all charts that expose container environment variables, including Stalwart and optional Bulwark. A non-empty map creates a chart-managed Kubernetes Secret and the workload imports it using envFrom.secretRef; regular environment maps remain unchanged. Stalwart keeps extraSecretEnv working for compatibility.

Chart versions are bumped. Existing values are intentionally not auto-migrated: users must move each sensitive key/value into secretEnvironment and remove it from its old environment or chart-specific setting. Restart the workload after changing the map, because environment variables sourced from a Secret are read at container start.

This keeps the value out of Deployment and Pod specs, but Kubernetes Secret access and Helm release storage still need appropriate RBAC and protection.

Adds a separate secretEnvironment map to all charts that expose container environment variables, including Stalwart and optional Bulwark. A non-empty map creates a chart-managed Kubernetes Secret and the workload imports it using envFrom.secretRef; regular environment maps remain unchanged. Stalwart keeps extraSecretEnv working for compatibility. Chart versions are bumped. Existing values are intentionally not auto-migrated: users must move each sensitive key/value into secretEnvironment and remove it from its old environment or chart-specific setting. Restart the workload after changing the map, because environment variables sourced from a Secret are read at container start. This keeps the value out of Deployment and Pod specs, but Kubernetes Secret access and Helm release storage still need appropriate RBAC and protection.
mathieu deleted branch lain/separate-secret-environment-20261013065722 2026-10-13 08:30:11 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mathieu/charts!47
No description provided.