helm install mediawiki

From wikieduonline
Jump to navigation Jump to search

 helm install my-release oci://registry-1.docker.io/bitnamicharts/mediawiki
 helm install my-release oci://registry-1.docker.io/bitnamicharts/mediawiki --set mediawikiHost=wiki.example.com
 helm install my-release oci://registry-1.docker.io/bitnamicharts/mediawiki --set mediawikiHost=wiki.example.com --set mariadb.enabled=true
helm install my-release oci://registry-1.docker.io/bitnamicharts/mediawiki --set mediawikiHost=wiki.example.com --set mariadb.auth.rootPassword=password --set mariadb.auth.password=password
helm install mywiki oci://registry-1.docker.io/bitnamicharts/mediawiki --set mediawikiHost=mediawiki.local --set mediawikiPassword=password --set mariadb.auth.rootPassword=password --set mariadb.auth.password=password --set allowEmptyPassword=no
helm install mywiki oci://registry-1.docker.io/bitnamicharts/mediawiki --set mediawikiHost=mediawiki.local --set mediawikiPassword=passwordXXXXX --set mariadb.auth.rootPassword=password --set mariadb.auth.password=password --set allowEmptyPassword=no --set image.debug=true --set ingress.enabled=true --set ingress.tls=true


ingress.hostname mediawiki.local


helm install  mymediawiki bitnami/mediawiki

Examples

helm install my-release oci://registry-1.docker.io/bitnamicharts/mediawiki
NAME: mymediawiki
LAST DEPLOYED: Wed Jan  3 16:54:21 2024
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
CHART NAME: mediawiki
CHART VERSION: 17.2.0
APP VERSION: 1.40.1

** Please be patient while the chart is being deployed 

**###############################################################################
### ERROR: You did not provide an external host in your 'helm install' call ###
###############################################################################

This deployment will be incomplete until you configure Mediawiki with a resolvable
host. To configure Mediawiki with the URL of your service:

1. Get the Mediawiki URL by running: 

  NOTE: It may take a few minutes for the LoadBalancer IP to be available.
        Watch the status with: 'kubectl get svc --namespace default -w mymediawiki'


 export APP_HOST=$(kubectl get svc --namespace default mymediawiki --template "{{ range (index .status.loadBalancer.ingress 0) }}{{ . }}{{ end }}") 

 export APP_PASSWORD=$(kubectl get secret --namespace default mymediawiki -o jsonpath="{.data.mediawiki-password}" | base64 -d)

 export MARIADB_ROOT_PASSWORD=$(kubectl get secret --namespace default mymediawiki-mariadb -o jsonpath="{.data.mariadb-root-password}" | base64 -d)

 export MARIADB_PASSWORD=$(kubectl get secret --namespace default mymediawiki-mariadb -o jsonpath="{.data.mariadb-password}" | base64 -d)


2. Complete your Mediawiki deployment by running:

 helm upgrade --namespace default mymediawiki oci://registry-1.docker.io/bitnamicharts/mediawiki \
   --set mediawikiHost=$APP_HOST,mediawikiPassword=$APP_PASSWORD,mariadb.auth.rootPassword=$MARIADB_ROOT_PASSWORD,mariadb.auth.password=$MARIADB_PASSWORD

2. Get your MediaWiki login credentials by running:

   echo Username: user
   echo Password: $(kubectl get secret --namespace default mymediawiki -o jsonpath="{.data.mediawiki-password}" | base64 -d)

Errors

helm install my-mediawiki oci://registry1.docker.io/bitnamicharts/mediawiki
Error: INSTALLATION FAILED: Get 
"https://registry1.docker.io/v2/bitnamicharts/mediawiki/tags/list": 
dial tcp: lookup registry1.docker.io: no such host
Running MediaWiki install script
mediawiki 11:27:08.69 INFO  ==> Running MediaWiki install script
Invalid wiki admin password:
* Passwords must be at least 10 characters.
* The password entered is in a list of very commonly used passwords. Please choose a more unique password.

Related

See also

Advertising: