fix: More bamboo config

This commit is contained in:
Robert Prehn 2021-05-14 17:21:51 -05:00
parent ba977b13b7
commit 6cc4f53b66
3 changed files with 12 additions and 10 deletions

View file

@ -119,6 +119,7 @@ defmodule Legendary.Core.MixProject do
# Type `mix help compile.app` for more information. # Type `mix help compile.app` for more information.
def application do def application do
[ [
applications: [:bamboo, :bamboo_smtp],
mod: {Legendary.Core.Application, []}, mod: {Legendary.Core.Application, []},
extra_applications: [:logger, :runtime_tools] extra_applications: [:logger, :runtime_tools]
] ]
@ -134,6 +135,7 @@ defmodule Legendary.Core.MixProject do
defp deps do defp deps do
[ [
{:bamboo, "~> 1.5"}, {:bamboo, "~> 1.5"},
{:bamboo_smtp, "~> 4.0.1"},
{:credo, "~> 1.4", only: [:dev, :test], runtime: false}, {:credo, "~> 1.4", only: [:dev, :test], runtime: false},
{:ex_cldr, "~> 2.13.0"}, {:ex_cldr, "~> 2.13.0"},
{:ex_doc, "~> 0.24", only: :dev, runtime: false}, {:ex_doc, "~> 0.24", only: :dev, runtime: false},

View file

@ -39,22 +39,22 @@ spec:
- name: LIVE_VIEW_SIGNING_SALT - name: LIVE_VIEW_SIGNING_SALT
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: legendary name: legendary-doc-site
key: live-view-signing-salt key: live-view-signing-salt
- name: SMTP_HOST - name: SMTP_HOST
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: legendary name: legendary-doc-site
key: smtp-host key: smtp-host
- name: SMTP_USERNAME - name: SMTP_USERNAME
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: legendary name: legendary-doc-site
key: smtp-username key: smtp-username
- name: SMTP_HOST - name: SMTP_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: legendary name: legendary-doc-site
key: smtp-password key: smtp-password
--- ---
apiVersion: v1 apiVersion: v1

View file

@ -39,22 +39,22 @@ spec:
- name: LIVE_VIEW_SIGNING_SALT - name: LIVE_VIEW_SIGNING_SALT
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: legendary name: legendary-doc-site
key: live-view-signing-salt key: live-view-signing-salt
- name: SMTP_HOST - name: SMTP_HOST
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: legendary name: legendary-doc-site
key: smtp-host key: smtp-host
- name: SMTP_USERNAME - name: SMTP_USERNAME
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: legendary name: legendary-doc-site
key: smtp-username key: smtp-username
- name: SMTP_HOST - name: SMTP_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: legendary name: legendary-doc-site
key: smtp-password key: smtp-password
--- ---
apiVersion: v1 apiVersion: v1