Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inbucket: allow configuration of issuer #4031

Merged
merged 1 commit into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions charts/inbucket/templates/cert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,10 @@ metadata:
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
annotations:
# The issuer changes when it's configured to use staging or prod ACME
# servers.
checksum/issuer: {{ include (print .Template.BasePath "/issuer.yaml") . | sha256sum }}
spec:
issuerRef:
name: letsencrypt-inbucket
kind: Issuer
{{- toYaml .Values.issuerRef | nindent 4 }}

usages:
- server auth
duration: 2160h # 90d, Letsencrypt default; NOTE: changes are ignored by Letsencrypt
Expand Down
27 changes: 0 additions & 27 deletions charts/inbucket/templates/issuer.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions charts/inbucket/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ inbucket:
INBUCKET_MAILBOXNAMING: full
INBUCKET_STORAGE_RETENTIONPERIOD: "72h"

# The production ACME server of let's encrypt has a very strict rate limiting
# and bans for weeks. Better try with the staging ACME server first.
useStagingACMEServer: true
# issuerRef:
# kind: ClusterIssuer
# name: letsencrypt

# Enables and configures HTTP Basic Auth secret as e.g. created with
# `htpasswd -bc auth username password`.
Expand Down
Loading