-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add inbucket Helm chart (SQPIT-1034) (#2544)
The chart in wire-server provides defaults for the parent chart (`inbucket/inbucket`) to simplify it's usage in Wire test environments. Co-authored-by: jschaul <[email protected]>
- Loading branch information
Showing
7 changed files
with
62 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add Helm chart for inbucket. Inbucket is a SMTP server that does not relay, but instead display received mail in a webapp and make them accessible via an API. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
apiVersion: v1 | ||
name: inbucket | ||
version: 0.0.42 | ||
description: Inbucket is an email testing application; it will accept messages for any email address and make them available to view via a web interface. | ||
home: https://www.inbucket.org/ | ||
sources: | ||
- https://github.com/inbucket/inbucket | ||
- https://artifacthub.io/packages/helm/inbucket/inbucket | ||
- https://hub.docker.com/r/inbucket/inbucket | ||
appVersion: 3.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Inbucket chart | ||
|
||
[*Inbucket*](https://www.inbucket.org/) is a fake SMTP server that provides all | ||
captured eMails via a webapp and a REST API. At *Wire* it is used in testing | ||
environments to not have to deal with concrete SMTP server configurations. | ||
Especially, it saves us to care about topics like *SPAM filters* and *server | ||
grey & black listing*. | ||
|
||
This chart exists to adjust the [`inbucket/inbucket` | ||
chart](https://artifacthub.io/packages/helm/inbucket/inbucket) to our needs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
dependencies: | ||
- name: inbucket | ||
version: 2.0.1 | ||
repository: https://inbucket.github.io/inbucket-community |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
apiVersion: extensions/v1beta1 | ||
kind: Ingress | ||
metadata: | ||
name: "inbucket" | ||
namespace: {{ .Release.Namespace }} | ||
labels: | ||
app.kubernetes.io/name: {{ include "inbucket.name" . }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
helm.sh/chart: {{ include "inbucket.chart" . }} | ||
spec: | ||
rules: | ||
- host: {{ required "must specify host" .Values.host | quote }} | ||
http: | ||
paths: | ||
- path: / | ||
backend: | ||
serviceName: {{ include "inbucket.fullname" . }} | ||
servicePort: http |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Fully qualified domain name (FQDN) of the domain where to serve inbucket. | ||
# E.g. 'inbucket.my-test-env.wire.link' | ||
host: | ||
|
||
# Configure the inbucket "parent" chart | ||
inbucket: | ||
image: | ||
tag: 3.0.2 | ||
|
||
extraEnv: | ||
INBUCKET_WEB_GREETINGFILE: "/config/greeting.html" | ||
INBUCKET_MAILBOXNAMING: full | ||
INBUCKET_STORAGE_RETENTIONPERIOD: "72h" |