Skip to content

feat: Helm chart for MediaWiki 1.45#36

Merged
velghea merged 2 commits intomainfrom
copilot/create-helmchart-for-mediawiki
Mar 18, 2026
Merged

feat: Helm chart for MediaWiki 1.45#36
velghea merged 2 commits intomainfrom
copilot/create-helmchart-for-mediawiki

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 18, 2026

Adds a new Helm chart deploying MediaWiki 1.45 on Kubernetes, following the same conventions as the existing filesender chart.

Chart highlights

  • Image: mediawiki:1.45 (official Docker Hub)
  • Database: Internal MariaDB 11.4 by default; external DB supported via mariadb.external.*
  • Secrets: Admin password, DB passwords, $wgSecretKey, and $wgUpgradeKey are auto-generated on first install and stable across upgrades via lookup
  • Config: LocalSettings.php rendered as a ConfigMap; sensitive values injected at runtime via getenv() — never embedded in plaintext config
  • Persistence: Separate PVCs for MediaWiki uploads (10Gi) and MariaDB data (8Gi)
  • Init container: busybox waits for DB readiness before starting MediaWiki
  • Ingress: Optional, with TLS support

Structure

charts/mediawiki/
├── Chart.yaml              # appVersion: 1.45, version: 1.45.0
├── values.yaml
├── README.md               # FR docs with full config table
└── templates/
    ├── _helpers.tpl        # name/label/DB host helpers
    ├── configmap.yaml      # LocalSettings.php
    ├── secret.yaml         # auto-generated secrets
    ├── deployment.yaml     # MediaWiki pod + busybox init
    ├── service.yaml
    ├── ingress.yaml
    ├── pvc.yaml            # images upload volume
    ├── mariadb-deployment.yaml
    ├── mariadb-service.yaml
    ├── mariadb-pvc.yaml
    └── NOTES.txt           # post-install DB init instructions

DB init (first deploy)

The database schema must be initialized manually after first install — instructions are printed by helm status:

export MW_DB_PASS=$(kubectl get secret <release>-mediawiki -o jsonpath="{.data.mariadb-password}" | base64 -d)
export MW_ADMIN_PASS=$(kubectl get secret <release>-mediawiki -o jsonpath="{.data.mediawiki-admin-password}" | base64 -d)

kubectl exec -it deployment/<release>-mediawiki -- php /var/www/html/maintenance/install.php \
  --dbserver=<release>-mediawiki-mariadb --dbname=mediawiki --dbuser=mediawiki \
  --dbpass="${MW_DB_PASS}" --pass="${MW_ADMIN_PASS}" --scriptpath="" "Mon Wiki" "admin"
Original prompt

This section details on the original issue you should resolve

<issue_title>Creation helmchart for Mediawiki</issue_title>
<issue_description>Crée un helmchart pour l'application Mediawiki en version 1.45</issue_description>

Comments on the Issue (you are @copilot in this section)


📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 18, 2026

🏷️ Version RC publiée

Chart RC 3.6.2-rc.2
Version finale prévue 3.6.2
FileSender 3.6

Installation pour test

helm repo update ifpen
helm install filesender-rc ifpen/filesender --version 3.6.2-rc.2

Vérification

helm search repo ifpen/filesender --versions --devel

⚠️ Cette version RC sera remplacée par la version stable 3.6.2 lors du merge.

github-actions Bot added a commit that referenced this pull request Mar 18, 2026
@velghea
Copy link
Copy Markdown
Contributor

velghea commented Mar 18, 2026

je ne veux pas que tu me fasses un update à filesender mais que tu installes dans le repo une autre application mediawiki en plus d efilesender

@velghea velghea marked this pull request as ready for review March 18, 2026 11:00
Co-authored-by: velghea <70569153+velghea@users.noreply.github.com>
Copilot AI changed the title [WIP] Add helmchart for Mediawiki version 1.45 feat: Helm chart for MediaWiki 1.45 Mar 18, 2026
Copilot AI requested a review from velghea March 18, 2026 11:06
github-actions Bot added a commit that referenced this pull request Mar 18, 2026
@velghea velghea merged commit a438c57 into main Mar 18, 2026
4 checks passed
@mechermu mechermu deleted the copilot/create-helmchart-for-mediawiki branch April 8, 2026 07:39
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.

Creation helmchart for Mediawiki

2 participants