inbucket

by joaquinito2051

Helm chartv3.1.0App 2.0.0

Inbucket is an email testing application

About this chart

Inbucket

Inbucket is an e-mail testing tool.

TL;DR;

$ helm install <helm-repo>/inbucket

$ helm install stable/inbucket

Introduction

This chart creates a Inbucket deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.8+ with Beta APIs enabled

Installing the Chart

To install the chart with the release name my-release:

$ helm install --name my-release <helm-repo>/inbucket

$ helm install --name my-release stable/inbucket The command deploys Inbucket on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

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

ParameterDescriptionDefault
image.repositorycontainer image repositoryjhillyerd/inbucket
image.tagcontainer image tagrelease-1.2.0
image.pullPolicycontainer image pull policyIfNotPresent
nodeSelectornode labels for pod assignment{}
podAnnotationsannotations to be added to pods{}
resourcespod resource requests & limits{}
service.annotationsannotations for the service{}
service.clusterIPinternal cluster service IP""
service.externalIPsservice external IP addresses[]
service.loadBalancerIPIP address to assign to load balancer (if supported)""
service.loadBalancerSourceRangeslist of IP CIDRs allowed access to load balancer (if supported)[]
service.typetype of service to createClusterIP
service.node.httphttp port of service. Should be the same you set in INBUCKET_WEB_ADDR""
service.node.smtpsmtp port of service. Should be the same you set in INBUCKET_SMTP_ADDR""
service.node.pop3pop3 port of service. Should be the same you set in INBUCKET_POP3_ADDR""
service.nodePort.httpif service.type is NodePort and this is non-empty, sets the http node port of the service""
service.nodePort.smtpif service.type is NodePort and this is non-empty, sets the smtp node port of the service""
service.nodePort.pop3if service.type is NodePort and this is non-empty, sets the pop3 node port of the service""
ingress.enabledif true, an ingress is createdfalse
ingress.annotationsannotations for the ingress{}
ingress.pathif true, an ingress is created/
ingress.hostsa list of ingress hosts[inbucket.example.com]
ingress.tlsa list of IngressTLS items[]
configThe inbucket config you can use this configurator to adjust you config.set to defaults

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
$ helm install --name my-release \
  --set image.tag=release-1.2.0 \
    <helm-repo>/inbucket
$ helm install --name my-release \

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

$ helm install --name my-release -f values.yaml <helm-repo>/inbucket

$ helm install --name my-release -f values.yaml stable/inbucket

Limitations

Thanks

This chart was inspired in the Mailhog tool, which is another testing email tool, for more Mailhog.

Deploy inbucket with OpenTenant

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