Mediawiki 1.39.3 docker image is built on centos7. It didn't work on centos8 as php 7.4 is needed for latest mediawiki version and remi-release-8.rpm is not present till centos8.4 It's helm chart is being deployed on AKS Cluster with terraform.
Helm chart includes mysql statefulset and mediawiki deployment creating a Standard Loadbalancer.
Mediawiki Running
Helm Deployment Through Terraform
Mediawiki Pods Running
Though there is lot of scope left for automation one particular i want to mention is to map LocalSettings.php file into mediawiki kubernetes deployment yaml.
A generic LocalSettings.php file can be created with mysql k8 fqdn and mounted as volume on its deployment as hostpath
volumeMounts:
- mountPath: /var/www/html/mediawiki/LocalSettings.php
name: myfile
volumes:
- name: myfile
hostPath:
path: /opt/local/LocalSettings.php
type: FileOrCreate
Apart from this secrets can be passed through vault and a Jenkinsfile for jenkins job deployment