Create Helm subchart for OpenDKIM service with configuration and templates#320
Open
Aravinda-HWK wants to merge 3 commits intoLSFLK:mainfrom
Open
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request introduces a Helm chart architecture for the Silver mail platform, featuring an umbrella chart and a dedicated subchart for the OpenDKIM service. The implementation includes templates for standard Kubernetes resources such as StatefulSets, ConfigMaps, and NetworkPolicies, along with environment-specific value files for development and production. Feedback highlights the need to configure an fsGroup in the podSecurityContext to ensure the non-root container has write access to persistent volumes. Additionally, it is recommended to replace the static PVC with volumeClaimTemplates in the StatefulSet to correctly support scaling beyond a single replica.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📌 Description
This PR introduces a Helm subchart for the OpenDKIM service and establishes the initial umbrella chart structure for the email system deployment.
The OpenDKIM chart enables DKIM signing for configured domains, supports persistent storage for DKIM keys, and integrates with other email system components via Kubernetes services.
🔍 Changes Made
Created
opendkimHelm subchart undercharts/Implemented StatefulSet for OpenDKIM deployment with persistent DKIM key storage
Added Service for internal communication (milter port)
Created ConfigMaps for:
opendkim.confKeyTableSigningTableTrustedHostsAdded Secret support for sensitive configuration (
silver.yaml)Implemented PersistentVolumeClaim with support for:
Added Helm helper templates (
_helpers.tpl) for consistent naming and labelingImplemented readiness and liveness probes
Added Helm test hook to validate service connectivity
Introduced checksum annotations to trigger rolling updates on config changes
Initialized umbrella chart structure for future email system components
✅ Checklist (Email System)
🧪 Testing Instructions
Deploy the chart:
Verify pods are running:
Run Helm test:
helm test silver -n mailVerify OpenDKIM service connectivity:
(Optional) Check DKIM keys:
📷 Screenshots / Logs (if applicable)