adminer

by Helm

Helm chartv0.2.1App 4.8.1Apache-2.0

Adminer is a full-featured database management tool written in PHP. Conversely to phpMyAdmin, it consist of a single file ready to deploy to the target server. Adminer is available for MySQL, MariaDB, PostgreSQL, SQLite, MS SQL, Oracle, Firebird, SimpleDB, Elasticsearch and MongoDB

About this chart

Helm Chart for Adminer

Introduction

This Helm chart installs Adminer in a Kubernetes cluster.

Prerequisites

  • Kubernetes cluster 1.10+
  • Helm 3.0.0+
  • PV provisioner support in the underlying infrastructure.

Installation

Add Helm repository

helm repo add cetic https://cetic.github.io/helm-charts
helm repo update

Configure the chart

The following items can be set via --set flag during installation or configured by editing the values.yaml directly (need to download the chart first).

Configure the way how to expose Adminer service:

  • Ingress: The ingress controller must be installed in the Kubernetes cluster.
  • ClusterIP: Exposes the service on a cluster-internal IP. Choosing this value makes the service only reachable from within the cluster.
  • NodePort: Exposes the service on each Node’s IP at a static port (the NodePort). You’ll be able to contact the NodePort service, from outside the cluster, by requesting NodeIP:NodePort.
  • LoadBalancer: Exposes the service externally using a cloud provider’s load balancer.

Install the chart

Install the Adminer helm chart with a release name my-release:

helm upgrade --install my-release cetic/adminer

Uninstallation

To uninstall/delete the my-release deployment:

helm delete my-release

Configuration

The following table lists the configurable parameters of the Adminer chart and the default values.

ParameterDescriptionDefault
Image
image.repositoryImageadminer
image.tagImage tag4.7.7-standalone
image.pullPolicyImage pull policyIfNotPresent
image.pullSecretsImage pull secrets for private registry[]
Config
config.pluginsList of plugins to install. You can find the list of plugins on GitHub``
config.designA bundled design to use. You can find the list of designs on GitHub``
config.externalserverThe default host``
Service
service.typeService typeNodePort
service.portThe service port80
service.nodePortThe nodePort portnil
service.annotationsCustom annotations for service{}
service.labelsAdditional custom labels for the service{}
service.loadBalancerIPLoadBalancerIP if service type is LoadBalancernil
service.loadBalancerSourceRangesAddress that are allowed when svc is LoadBalancer[]
Ingress
ingress.enabledEnables Ingressfalse
ingress.annotationsIngress annotations{}
ingress.labelsCustom labels{}
ingress.hostsIngress accepted hostnames[]
ingress.tlsIngress TLS configuration[]
ingress.classNameIngress Class Name
Resources
resourcesCPU/Memory resource requests/limits{}
Tolerations
tolerationsAdd tolerations[]
NodeSelector
nodeSelectornode labels for pod assignment{}
Affinity
affinitynode/pod affinities{}
LivenessProbe
livenessProbeLiveness probe settingsnil
ReadnessProbe
readinessProbeReadiness probe settingsnil
volumeMountsAdd volumeMount to the adminer containernil
volumesAdd volumes to the podnil

Credits

Initially inspired from https://github.com/mogaal/helm-charts/tree/master/adminer.

Contributing

Feel free to contribute by making a pull request.

Please read the official Contribution Guide from Helm for more information on how you can contribute to this Chart.

License

Apache License 2.0

Deploy adminer with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has adminer 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 chartadminer is pinned at v0.2.1 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