Skip to content

feat(drydock): add global maintenance ingress mode - #190

Open
acoronels wants to merge 3 commits into
mainfrom
acs/mainenance-mode
Open

feat(drydock): add global maintenance ingress mode#190
acoronels wants to merge 3 commits into
mainfrom
acs/mainenance-mode

Conversation

@acoronels

Copy link
Copy Markdown

Add native global maintenance mode to Drydock. When DRYDOCK_MAINTENANCE_ENABLED is active and Drydock Ingresses are enabled, the plugin deploys a dedicated maintenance-caddy service and uses Kustomize replacements to redirect all Drydock-managed Ingress backends to it.

The maintenance Caddy serves a default HTML maintenance page and is isolated from the normal Open edX Caddyfile. Custom routing can be added through the drydock-maintenance-caddyfile and drydock-maintenance-caddyfile-global Tutor patches.

Maintenance Caddyfile behavior can be customized by using patches (for example, for enabling IP restriction).

The feature is disabled by default. When disabled, maintenance resources and Ingress replacements are not rendered. Validation covers enabled and disabled environments, Kustomize output, the additional Caddyfile, package contents, and code quality checks.

@acoronels
acoronels requested a review from a team as a code owner September 9, 2026 22:35
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