Editing Helm install mediawiki-mariadb --set auth.rootPassword=password,auth.database=mediawiki oci://registry-1.docker.io/bitnamicharts/mariadb

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 3: Line 3:
 
  [[helm install]] mediawiki-mariadb --set auth.rootPassword=password,auth.database=mediawiki oci://registry-1.docker.io/bitnamicharts/mariadb
 
  [[helm install]] mediawiki-mariadb --set auth.rootPassword=password,auth.database=mediawiki oci://registry-1.docker.io/bitnamicharts/mariadb
  
<pre>
 
Pulled: registry-1.docker.io/bitnamicharts/mariadb:15.2.2
 
Digest: sha256:7e442823836cca3f3a40517ea8c7af03732f7d494ddab3e0be711e57a0ffc646
 
NAME: mediawiki-mariadb
 
LAST DEPLOYED: Mon Feb  5 21:36:45 2024
 
NAMESPACE: default
 
STATUS: deployed
 
REVISION: 1
 
TEST SUITE: None
 
NOTES:
 
CHART NAME: mariadb
 
CHART VERSION: 15.2.2
 
APP VERSION: 11.2.2
 
  
** Please be patient while the chart is being deployed **
 
  
Tip:
 
 
  Watch the deployment status using the command: kubectl get pods -w --namespace default -l app.kubernetes.io/instance=mediawiki-mariadb
 
 
Services:
 
 
  echo Primary: mediawiki-mariadb.default.svc.cluster.local:3306
 
 
Administrator credentials:
 
 
  Username: root
 
  Password : $(kubectl get secret --namespace default mediawiki-mariadb -o jsonpath="{.data.mariadb-root-password}" | base64 -d)
 
 
To connect to your database:
 
 
  1. Run a pod that you can use as a client:
 
 
      kubectl run mediawiki-mariadb-client --rm --tty -i --restart='Never' --image  docker.io/bitnami/mariadb:11.2.2-debian-11-r6 --namespace default --command -- bash
 
 
  2. To connect to primary service (read/write):
 
 
      mysql -h mediawiki-mariadb.default.svc.cluster.local -uroot -p mediawiki
 
 
To upgrade this helm chart:
 
 
  1. Obtain the password as described on the 'Administrator credentials' section and set the 'auth.rootPassword' parameter as shown below:
 
 
      ROOT_PASSWORD=$(kubectl get secret --namespace default mediawiki-mariadb -o jsonpath="{.data.mariadb-root-password}" | base64 -d)
 
      helm upgrade --namespace default mediawiki-mariadb oci://registry-1.docker.io/bitnamicharts/mariadb --set auth.rootPassword=$ROOT_PASSWORD
 
</pre>
 
 
 
 
== Related ==
 
* [[helm install mediawiki]]
 
  
 
== See also ==
 
== See also ==

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: