Files
truecharts/charts/stable/twofauth/values.yaml
T
TrueCharts BotandGitHub 4016ada5fa chore(deps): update container image 2fauth/2fauth to v5.3.0@13d9547 by renovate (#26974)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [2fauth/2fauth](https://redirect.github.com/Bubka/2FAuth) | minor |
`5.2.0` -> `5.3.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.3.0`](https://redirect.github.com/Bubka/2FAuth/blob/HEAD/changelog.md#530---2024-09-27)

[Compare
Source](https://redirect.github.com/Bubka/2FAuth/compare/v5.2.0...v5.3.0)

##### Added

- The `/up` endpoint for health checks
([#&#8203;271](https://redirect.github.com/Bubka/2FAuth/issues/271)).
- A user preference to close the on-screen OTP after a predefined delay
- A user preference to automatically register a 2FA account immediately
after a QR code scan. When enabled, there is no need to click the Save
button anymore to save the account to the database.
- An admin setting to make SSO the only authentication method available
(does not apply to admins).
([#&#8203;368](https://redirect.github.com/Bubka/2FAuth/issues/368)).
- The ability to assign a 2FA account to a specific group directly from
the advanced form
([#&#8203;372](https://redirect.github.com/Bubka/2FAuth/issues/372)).
- A new *Auth* tab in the admin panel to gather settings related to
authentication
- Proxy support for the OpenID connector (using
`PROXY_FOR_OUTGOING_REQUESTS`), thanks to
[@&#8203;rstefko](https://redirect.github.com/rstefko) ([PR
#&#8203;367](https://redirect.github.com/Bubka/2FAuth/pull/367))

##### New env vars

A lot of new environment variables are available thanks to the Laravel
11 upgrade. They give more control over various features of the
application:

- `ARGON_THREADS`: Number of threads that Argon2 will use to compute a
hash.
- `ARGON_TIME`: Maximum amount of time it may take to compute an Argon2
hash.
- `ARGON_MEMORY`: Maximum memory (in kibibytes) that may be used to
compute an Argon2 hash.
-   `DB_CHARSET`: The character set of the database.
-   `DB_COLLATION`: The collation of the database.
-   `HASH_DRIVER`: The hash algorithm used to hash user passwords.
- `LOG_STACK`: The stack of log channels used when the log channel is
set to `stack`.
- `LOG_DAILY_DAYS`: Number of log files to generate/rotate when using
the `daily` log channel.
- `LOG_SLACK_USERNAME`: The name of the user sending the log messages
when using the `slack` log channel.
- `LOG_SLACK_EMOJI`: The Emoji code of the emoji used to illustrate log
messages when using the `slack` log channel.
- `LOG_SYSLOG_FACILITY`: The syslog facility that provides a rough clue
of where in a system the message originated.
- `SESSION_TABLE`: Name of the table to be used to store sessions when
using the database `session` driver.
- `SESSION_ENCRYPT`: Whether or not session data are encrypted before it
is stored.

Please refer to the [Configuration
doc](https://docs.2fauth.app/getting-started/configuration/) to find out
when and how to use them.

##### Changed

- The Service data field is now encrypted in the database
([#&#8203;365](https://redirect.github.com/Bubka/2FAuth/issues/365)).
-   Upgrade to Laravel 11

##### Fixed

- [issue
#&#8203;347](https://redirect.github.com/Bubka/2FAuth/issues/347) Sort
with ignore case
- [issue
#&#8203;349](https://redirect.github.com/Bubka/2FAuth/issues/349) "Show
QR Code" feature returns wrong QR code
- [issue
#&#8203;360](https://redirect.github.com/Bubka/2FAuth/issues/360) Can’t
import QR Codes from Confluence 2FA
- [issue
#&#8203;362](https://redirect.github.com/Bubka/2FAuth/issues/362) Cannot
use SSO if app runs in subdirectory

##### API \[1.5.0]

- New `group_id` property for POST and PUT operations of the
`/api/v1/twofaccounts` path

</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://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMDAuMCIsInVwZGF0ZWRJblZlciI6IjM4LjEwMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbImF1dG9tZXJnZSIsInVwZGF0ZS9kb2NrZXIvZ2VuZXJhbC9ub24tbWFqb3IiXX0=-->
2024-09-27 20:38:34 +02:00

126 lines
3.6 KiB
YAML

image:
repository: 2fauth/2fauth
pullPolicy: IfNotPresent
tag: 5.3.0@sha256:13d95470869b717bb7cb3eaa5d27f79c9b991c04e72c7ee7eecebd1362838ed8
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