Skip to content
Open
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
491 changes: 491 additions & 0 deletions apps/faf-user-service/mail/account-deletion-confirmation.html

Large diffs are not rendered by default.

400 changes: 400 additions & 0 deletions apps/faf-user-service/mail/account-deletion-notification.html

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions apps/faf-user-service/templates/config-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ metadata:
data:
"account-activation.html": |-
{{ tpl (.Files.Get "mail/account-activation.html") . | indent 4 }}
"account-deletion-confirmation.html": |-
{{ tpl (.Files.Get "mail/account-deletion-confirmation.html") . | indent 4 }}
"account-deletion-notification.html": |-
{{ tpl (.Files.Get "mail/account-deletion-notification.html") . | indent 4 }}
"password-reset.html": |-
{{ tpl (.Files.Get "mail/password-reset.html") . | indent 4 }}
"welcome-to-faf.html": |-
Expand Down
8 changes: 7 additions & 1 deletion apps/faf-user-service/templates/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,10 @@ data:
LOBBY_URL: "wss://ws.{{.Values.baseDomain}}"
IRC_TOKEN_TTL: "86400"
REPLAY_URL: "wss://replay-ws.{{.Values.baseDomain}}"
ALTCHA_ENABLED: "true"
ALTCHA_ENABLED: "true"
RABBITMQ_USER: "faf-user-service"
RABBITMQ_PORT: "5672"
RABBITMQ_HOST: "rabbitmq"
NODEBB_READ_API_URL: https://forum.{{.Values.baseDomain}}/api
NODEBB_WRITE_API_URL: https://forum.{{.Values.baseDomain}}/api/v3
WIKIJS_GRAPHQL_URL: https://wiki.{{.Values.baseDomain}}/graphql
1 change: 1 addition & 0 deletions apps/faf-user-service/templates/local-secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ stringData:
LOBBY_SECRET: "banana"
REPLAY_SECRET: "banana"
ALTCHA_HMAC_KEY: "bananabananabananabanana"
RABBITMQ_PASSWORD: "banana"
{{- end}}
2 changes: 1 addition & 1 deletion apps/rabbitmq/templates/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
app: rabbitmq
data:
ADMIN_USER: "faf-admin"
"enabled_plugins": "[rabbitmq_management,rabbitmq_prometheus]."
"enabled_plugins": "[rabbitmq_management,rabbitmq_prometheus,rabbitmq_shovel,rabbitmq_shovel_management]."
"rabbitmq_conf": |-
default_user = $(ADMIN_USER)
default_pass = $(ADMIN_PASSWORD)
2 changes: 1 addition & 1 deletion apps/rabbitmq/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ spec:
app: rabbitmq
spec:
containers:
- image: rabbitmq:3.13.7-management-alpine
- image: rabbitmq:4.3.6-management-alpine
imagePullPolicy: Always
name: rabbitmq
ports:
Expand Down
6 changes: 5 additions & 1 deletion apps/rabbitmq/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
image:
repository: rabbitmq
tag: 3.13.7-management-alpine
tag: 4.3.6-management-alpine

infisical-secret:
name: rabbitmq
Expand All @@ -26,3 +26,7 @@ users:
secretRef: faf-icebreaker
usernameKey: RABBITMQ_USER
passwordKey: RABBITMQ_PASSWORD
- configMapRef: faf-user-service
secretRef: faf-user-service
usernameKey: RABBITMQ_USER
passwordKey: RABBITMQ_PASSWORD
Loading