mybb

by sudermanjr

Helm chartv0.1.0App 1.8

A Helm chart for Mybb

About this chart

mybb

A Helm chart for Mybb

Current chart version is 0.1.0

Source code can be found here

Chart Requirements

RepositoryNameVersion
https://charts.bitnami.com/bitnamipostgresql8.6.4

Quickstart

Fire up a kind cluster.

kind create cluster

Install the chart

helm repo add sudermanjr https://charts.sudermanjr.com
kubectl create ns mybb
helm install mybb sudermanjr/mybb --namespace mybb
kubectl -n mybb port-forward svc/mybb 8080:80

Now navigate to [http://localhost:8080](http://localhost:8080]

Once you're there, you'll need to connect to the database by navigating the prompts. The defaults for the postgres username and password are shown in the values section below. The 'hostname' will be mybb-postgresql

Chart Values

KeyTypeDefaultDescription
affinityobject{}
fullnameOverridestring""A template override for fullname
image.pullPolicystring"Always"The image pull policy. Recommend not changing this.
image.repositorystring"mybb/mybb"The Docker repository
imagePullSecretslist[]A list of pull secrets for private repositories
ingress.annotationsobject{}
ingress.enabledboolfalse
ingress.hosts[0].hoststring"chart-example.local"
ingress.hosts[0].pathslist[]
ingress.tlslist[]
nameOverridestring""A template override for "name"
nginx.image.repositorystring"nginx"The image to use for the internal nginx server
nginx.image.tagfloat1.17The version of nginx container to use
nginx.resourcesobject{}The resources block for the nginx container
nodeSelectorobject{}
podSecurityContextobject{}The security context to add to the pod
postgresql.enabledstring"tru"If true, installs a sub-chart to run postgresql as a DB
postgresql.postgresqlDatabasestring"mybb"The database name to use on the local postgres DB. Input this in the setup UI for mybb
postgresql.postgresqlPasswordstring"foobar"The password to use on the local postgres DB. Input this in the setup UI for mybb
postgresql.postgresqlUsernamestring"mybb"The username to use on the local postgres DB. Input this in the setup UI for mybb
replicaCountint1The number of replicas. Currently only supports one
resourcesobject{}The resources block for the mybb pod
securityContextobject{}The security context to be used for the container in the pod
service.portint80The port to use on the service
service.typestring"ClusterIP"The service type for the service
serviceAccount.annotationsobject{}Annotations to add to the service account
serviceAccount.createbooltrueSpecifies whether a service account should be created
serviceAccount.namestringnilThe name of the service account to use. If not set and create is true, a name is generated using the fullname template
storageClassstring"standard"The storage class to use for the persistent volume
tolerationslist[]

Deploy mybb with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has mybb on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartmybb is pinned at v0.1.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply