Files
truecharts/charts/stable/twofauth/values.yaml
T
TrueCharts BotandGitHub 1db613f18e chore(deps): update container image 2fauth/2fauth to v5.2.0@e0de91d by renovate (#22609)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [2fauth/2fauth](https://togithub.com/Bubka/2FAuth) | minor | `5.1.1`
-> `5.2.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>Bubka/2FAuth (2fauth/2fauth)</summary>

###
[`v5.2.0`](https://togithub.com/Bubka/2FAuth/blob/HEAD/changelog.md#520---2024-05-29)

[Compare
Source](https://togithub.com/Bubka/2FAuth/compare/v5.1.1...v5.2.0)

2FAuth v5.2 offers a new notification feature. Each user can now decide
whether they want to receive an email after a successful login from a
new device, or after a failed login.

For now, both notifications are **disabled** by default. Why this choice
when this feature increases security? Because if the email configuration
of your 2FAuth instance is not set up correctly, such login attempts
will take a while (until all email sending attempts have failed).

If you never set up email sending on your instance, do it. It is the
only way to recover your account, whether you use a password or a
passkey to authenticate. To help you in this task, all required
environment variables are described
[here](https://docs.2fauth.app/getting-started/configuration/#email-setting).
Since v5.1, administrators also have access to a test email button to
validate the email configuration from the UI.

Notifications will be enabled by default in a future version.

Last but not least :

⚠️ This version drops PHP 8.1 support ⚠️

##### Added

- When
[installed](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Guides/Installing),
2FAuth now offers shortcuts to common actions.
- User authentication logs (See user management pages in the admin
area).
- Two user preferences to control the notifications sent when
authentication events occur.
- A user preference to set the timezone applied to dates and times
displayed in the app.

##### New env vars

- `APP_TIMEZONE`: The timezone applied to dates and times recorded to
database
([doc](https://docs.2fauth.app/getting-started/configuration/#app_timezone)).
- `AUTHENTICATION_LOG_RETENTION`: The authentication log retention time,
in days
([doc](https://docs.2fauth.app/getting-started/configuration/#authentication_log_retention)).
- `PROXY_HEADER_FOR_IP`: Name of the HTTP header sent by a reverse proxy
to pass the original visitor IP address.
([doc](https://docs.2fauth.app/getting-started/configuration/#proxy_header_for_ip)).

##### Changed

-   `MAIL_DRIVER` env var renamed to `MAIL_MAILER`.\
This is not a breaking change as the former name is still supported.
This is just to stick to Laravel defaults.
- NGINX server now also listens to ipv6 in Docker image
([#&#8203;336](https://togithub.com/Bubka/2FAuth/issues/336)).

##### Fixed

- [issue #&#8203;192](https://togithub.com/Bubka/2FAuth/issues/192)
`DB_DATABASE` path not respected by entrypoint script
- [issue #&#8203;244](https://togithub.com/Bubka/2FAuth/issues/244)
gauth qr code can't be imported
- [issue #&#8203;255](https://togithub.com/Bubka/2FAuth/issues/255) Only
one Webauthn Device functioning
- [issue #&#8203;295](https://togithub.com/Bubka/2FAuth/issues/295) Add
support for PHP 8.3
- [issue #&#8203;331](https://togithub.com/Bubka/2FAuth/issues/311) Last
admin can demote to user, leaving the instance administratorless

##### API \[1.4.0]

- `/api/v1/users/{id}/authentications` GET path added
([doc](https://docs.2fauth.app/resources/rapidoc.html#get-/api/v1/users/-id-/authentications)).

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://togithub.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zODEuOCIsInVwZGF0ZWRJblZlciI6IjM3LjM4MS44IiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInVwZGF0ZS9kb2NrZXIvZ2VuZXJhbC9ub24tbWFqb3IiXX0=-->
2024-05-29 20:31:32 +02:00

126 lines
3.6 KiB
YAML

image:
repository: 2fauth/2fauth
pullPolicy: IfNotPresent
tag: 5.2.0@sha256:e0de91d1b622c6087e0b1b6339a67c2828c62c5a9bae71df5a54d1a5f18cbb22
securityContext:
container:
readOnlyRootFilesystem: false
runAsUser: 1000
runAsGroup: 1000
twofauth:
app:
name: 2FAuth
site_owner: mail@example.com
session_lifetime: 120
trusted_proxies: []
mail:
driver: log
host: ""
port: 587
from: ""
user: ""
pass: ""
# TLS | STARTTLS | SSL
encryption: STARTTLS
from_name: 2FAuth
from_address: changeme@example.com
auth:
# web-guard | reverse-proxy-guard
guard: web-guard
# show if guard uses reverse-proxy-guard
proxy_header_for_user: ""
proxy_header_for_email: ""
proxy_logout_url: ""
webauthn:
name: 2FAuth
id: ""
icon: ""
# required | preferred | discouraged
user_verified: preferred
workload:
main:
podSpec:
containers:
main:
probes:
liveness:
path: /infos
readiness:
path: /infos
startup:
type: tcp
env:
# APP
APP_ENV: local
APP_KEY:
secretKeyRef:
name: twofauth-secret
key: APP_KEY
APP_NAME: "{{ .Values.twofauth.app.name }}"
SITE_OWNER: "{{ .Values.twofauth.app.site_owner }}"
APP_URL: "{{ .Values.chartContext.appUrl }}"
SESSION_LIFETIME: "{{ .Values.twofauth.app.session_lifetime }}"
TRUSTED_PROXIES: '{{ join "," .Values.twofauth.app.trusted_proxies }}'
# MAIL
MAIL_DRIVER: "{{ .Values.twofauth.mail.driver }}"
MAIL_HOST: "{{ .Values.twofauth.mail.host }}"
MAIL_PORT: "{{ .Values.twofauth.mail.port }}"
MAIL_FROM: "{{ .Values.twofauth.mail.from }}"
MAIL_USERNAME: "{{ .Values.twofauth.mail.user }}"
MAIL_PASSWORD: "{{ .Values.twofauth.mail.pass }}"
MAIL_ENCRYPTION: "{{ .Values.twofauth.mail.encryption }}"
MAIL_FROM_NAME: "{{ .Values.twofauth.mail.from_name }}"
MAIL_FROM_ADDRESS: "{{ .Values.twofauth.mail.from_address }}"
# AUTH
AUTHENTICATION_GUARD: "{{ .Values.twofauth.auth.guard }}"
AUTH_PROXY_HEADER_FOR_USER: "{{ .Values.twofauth.auth.proxy_header_for_user }}"
AUTH_PROXY_HEADER_FOR_EMAIL: "{{ .Values.twofauth.auth.proxy_header_for_email }}"
PROXY_LOGOUT_URL: "{{ .Values.twofauth.auth.proxy_logout_url }}"
# WebAuthn:
WEBAUTHN_NAME: "{{ .Values.twofauth.webauthn.name }}"
WEBAUTHN_ID: "{{ .Values.twofauth.webauthn.id }}"
# Optional image data in BASE64 (128 bytes maximum) or an image url
WEBAUTHN_ICON: "{{ .Values.twofauth.webauthn.icon }}"
WEBAUTHN_USER_VERIFICATION: "{{ .Values.twofauth.webauthn.user_verified }}"
# Postgres
DB_CONNECTION: pgsql
DB_DATABASE: "{{ .Values.cnpg.main.database }}"
DB_USERNAME: "{{ .Values.cnpg.main.user }}"
DB_PORT: 5432
DB_HOST:
secretKeyRef:
name: cnpg-main-urls
key: host
DB_PASSWORD:
secretKeyRef:
name: cnpg-main-user
key: password
service:
main:
ports:
main:
protocol: http
targetPort: 8000
port: 8000
persistence:
config:
enabled: true
mountPath: /2fauth
varrun:
enabled: false
cnpg:
main:
enabled: true
user: twofauth
database: twofauth
portal:
open:
enabled: true