Difference between revisions of "Helm install mediawiki"

From wikieduonline
Jump to navigation Jump to search
Line 45: Line 45:
 
   NOTE: It may take a few minutes for the LoadBalancer IP to be available.
 
   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]]'
 
         Watch the status with: '[[kubectl get svc --namespace default -w mymediawiki]]'
 
+
<nowiki>
 
   export APP_HOST=$(kubectl get svc --namespace default mymediawiki --template "{{ range (index .status.loadBalancer.ingress 0) }}{{ . }}{{ end }}")
 
   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 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_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)
 
   export MARIADB_PASSWORD=$(kubectl get secret --namespace default mymediawiki-mariadb -o jsonpath="{.data.mariadb-password}" | base64 -d)
 
+
</nowiki>
 
  2. Complete your Mediawiki deployment by running:
 
  2. Complete your Mediawiki deployment by running:
 
   
 
   

Revision as of 10:09, 6 February 2024

 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



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

Related

See also

Advertising: