mango
🔒Replace $github-username
, $github-pass
, $github-email
and $namespace
accordingly.
kubectl create secret docker-registry ghcr-token-secret --docker-server=https://ghcr.io --docker-username="$github-username" --docker-password="$github-pass" --docker-email="$github-email" -n $namespace
mango.secret
python -c 'import random; print("".join([random.choice("abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)") for i in range(50)]))'
Add the repo to your local helm client.
helm repo add mika https://irfanhakim-as.github.io/charts
Update the repo to retrieve the latest versions of the packages.
helm repo update
Copy values.yaml
from the chart you would like to install.
cp mika/mango/values.yaml .
Edit values.yaml
with the appropriate values. Refer to the Configurations section for available options.
nano values.yaml
Install the desired chart. Replace $release_name
and $namespace
accordingly.
helm install $release_name mika/mango --namespace $namespace --create-namespace --values values.yaml --wait
Verify that your chart has been installed. Replace $namespace
and $release_name
accordingly.
helm ls --namespace $namespace | grep "$release_name"
Uninstall the desired chart. Replace $release_name
and $namespace
accordingly.
helm uninstall $release_name --namespace $namespace --wait
Key | Type | Default | Description |
---|---|---|---|
db.host | string | "postgres.default.svc.cluster.local" |
Database server |
db.name | string | "" |
Database name |
db.password | string | "" |
Database user password |
db.port | string | "5432" |
Database port |
db.type | string | "postgresql" |
Database type |
db.user | string | "" |
Database user |
image.mango.pullPolicy | string | "IfNotPresent" |
Mango image pull policy |
image.mango.registry | string | "ghcr.io" |
Mango image registry |
image.mango.repository | string | "irfanhakim-as/mango" |
Mango image repository |
image.mango.tag | string | "" |
Mango image version |
image.redis.pullPolicy | string | "IfNotPresent" |
Redis image pull policy |
image.redis.registry | string | "docker.io" |
Redis image registry |
image.redis.repository | string | "redis" |
Redis image repository |
image.redis.tag | string | "alpine" |
Redis image version |
imagePullSecrets[0].name | string | "ghcr-token-secret" |
Image pull secret name |
mango.celery_timezone | string | "Asia/Kuala_Lumpur" |
Timezone of the background scheduler |
mango.debug | bool | false |
Mango debug mode |
mango.mastodon.api | string | "https://botsin.space/" |
Mastodon base API URL |
mango.mastodon.id | string | "mango" |
Mastodon bot ID |
mango.mastodon.token | string | "" |
Mastodon token secret |
mango.secret | string | "" |
Mango secret key |
mango.support | string | "support@mikahomelab.com" |
Support email address |
replicaCount | int | 1 |
Mango replica count |
resources.mango.limits.cpu | string | "50m" |
Mango maximum cpu allocation |
resources.mango.limits.memory | string | "500Mi" |
Mango maximum memory allocation |
resources.mango.requests.cpu | string | "10m" |
Mango minimum cpu allocation |
resources.mango.requests.memory | string | "250Mi" |
Mango minimum memory allocation |
resources.redis.limits.cpu | string | "15m" |
Redis maximum cpu allocation |
resources.redis.limits.memory | string | "80Mi" |
Redis maximum memory allocation |
resources.redis.requests.cpu | string | "5m" |
Redis minimum cpu allocation |
resources.redis.requests.memory | string | "30Mi" |
Redis minimum memory allocation |