Skip to content

SLT-1193: Remove the deprecated mailhog service from Drupal and Front-end charts #483

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

k4lv15
Copy link
Contributor

@k4lv15 k4lv15 commented May 19, 2025

Mailhog got deprecated in #478 and replaced by mailpit. This PR removes maillog from SIlta's helm charts completely.

Changes proposed:

IMPORTANT NOTE! This is a breaking change!
If you're overriding default mailhog configuration in your helm chart value override files (like silta/silta.yml etc)., make sure to switch to mailpit, otherwise helm chart installation will fail with schema validation errors. Also note that old mailhog URL is still working but redirected to /mailpit

I.e, if you had mailhog enabled:
Before: in silta/silta.yaml

mailhog:
  enabled: true

After: in silta/silta.yaml

mailpit:
  enabled: true

@k4lv15 k4lv15 force-pushed the feature/SLT-1193-remove-mailhog branch from 3d36b94 to adc74b5 Compare May 19, 2025 13:03
@k4lv15 k4lv15 requested a review from Copilot May 19, 2025 13:32
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request removes the deprecated Mailhog service from the Helm charts and Drupal configurations in favor of using Mailpit. The key changes include, the complete removal of Mailhog template files and configurations, updates to value and schema files to exclude Mailhog settings, and the corresponding cleanup of conditional logic in Drupal templates and CI configuration.

Reviewed Changes

Copilot reviewed 34 out of 34 changed files in this pull request and generated no comments.

File Description
forked/codecentric/mailhog-5.1.0/* Removed all Mailhog-related chart templates and configuration files
drupal/* Removed Mailhog service configuration and references from Drupal files
.circleci/config.yml Updated CI configuration to remove Mailhog-related repository addition
Comments suppressed due to low confidence (2)

drupal/values.schema.json:634

  • The 'mailhog' property is removed from the JSON schema. Please ensure that any associated documentation or migration guides are updated to reflect this breaking change.
"mailhog": {

drupal/templates/smtp-secret.yaml:1

  • The removal of '.Values.mailhog.enabled' from the secret condition ensures that Mailhog secrets are no longer created. Please verify that this change aligns with the intended service deprecation strategy.
{{- if or .Values.mailpit.enabled .Values.smtp.enabled }}

@k4lv15 k4lv15 marked this pull request as ready for review May 19, 2025 14:06
@k4lv15 k4lv15 requested review from Rade333 and Jancis May 19, 2025 14:27
@k4lv15 k4lv15 requested a review from agnis-mateuss May 19, 2025 14:27
@k4lv15 k4lv15 marked this pull request as draft May 26, 2025 08:49
@k4lv15
Copy link
Contributor Author

k4lv15 commented May 26, 2025

Postponed until mailhog is properly deprecated in #484, marking as draft for now.

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