Skip to content

SLT-1193: Drupal chart: Remove deprecated mailhog service from the chart #748

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 4 commits into
base: master
Choose a base branch
from

Conversation

k4lv15
Copy link
Contributor

@k4lv15 k4lv15 commented May 19, 2025

Changes proposed:

How to test:

  1. See that chart validation and deployment is green: https://app.circleci.com/pipelines/github/wunderio/drupal-project-k8s?branch=feature%2FSLT-1193-rm-mail
  2. See that mailpit still works and is available under Drupal's /mailpit path.

@k4lv15 k4lv15 force-pushed the feature/SLT-1193-rm-mail branch from 72b7beb to 80001c5 Compare May 19, 2025 11:29
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 PR removes the deprecated mailhog configuration and references from the Drupal chart and related files in favor of the mailpit service.

  • Removed mailhog configuration and schema definitions
  • Removed mailhog-related templating blocks and dependency entries
  • Updated CI configuration to stop fetching mailhog dependencies

Reviewed Changes

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

Show a summary per file
File Description
charts/drupal/values.yaml Removed mailhog configuration settings
charts/drupal/values.schema.json Removed mailhog schema definitions
charts/drupal/templates/varnish-configmap-vcl.yaml Removed mailhog-related VCL logic
charts/drupal/templates/smtp-secret.yaml Updated conditional to no longer check mailhog
charts/drupal/templates/drupal-configmap.yaml Removed mailhog route definitions and linked mailpit
charts/drupal/templates/checks.yaml Modified checks; production failure now applies to mailpit
charts/drupal/templates/_helpers.tpl Removed mailhog conditions and updated helper logic
charts/drupal/templates/NOTES.txt Removed mailhog instructions, kept mailpit instructions
charts/drupal/Chart.yaml Removed mailhog dependency
.circleci/config.yml Removed helm repo addition for mailhog
Comments suppressed due to low confidence (1)

charts/drupal/templates/checks.yaml:4

  • The production check will cause deployments to fail if mailpit is enabled, but the PR description indicates that mailpit should operate in production. Please update or remove this check accordingly.
{{- fail "Mailpit should not be enabled in production" -}}

@k4lv15 k4lv15 marked this pull request as ready for review May 19, 2025 14:06
@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 #749, 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.

1 participant