Files
truecharts/charts/stable/shlink/values.yaml
T
TrueCharts Bot 163f5ff9a7 BREAKING CHANGE(shlink): Update image docker.io/shlinkio/shlink 4.6.0 → 5.0.0 (#43577)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[docker.io/shlinkio/shlink](https://redirect.github.com/shlinkio/shlink)
| major | `e607cd6` -> `5bbedb6` |

---

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

Add the preset `:preserveSemverRanges` to your config if you don't want
to pin your dependencies.

---

### Release Notes

<details>
<summary>shlinkio/shlink (docker.io/shlinkio/shlink)</summary>

###
[`v5.0.0`](https://redirect.github.com/shlinkio/shlink/blob/HEAD/CHANGELOG.md#500---2026-01-09)

[Compare
Source](https://redirect.github.com/shlinkio/shlink/compare/v4.6.0...v5.0.0)

##### Added

-
[#&#8203;2431](https://redirect.github.com/shlinkio/shlink/issues/2431)
Add new date-based conditions for the dynamic rules redirections system,
that allow to perform redirections based on an ISO-8601 date value.

- `before-date`: matches when current date and time is earlier than the
defined threshold.
- `after-date`: matches when current date and time is later than the
defined threshold.

-
[#&#8203;2513](https://redirect.github.com/shlinkio/shlink/issues/2513)
Add support for redis connections via unix socket (e.g.
`REDIS_SERVERS=unix:/path/to/redis.sock`).

- Visits generated in the command line can now be formatted in CSV, via
`--format=csv`.

##### Changed

-
[#&#8203;2522](https://redirect.github.com/shlinkio/shlink/issues/2522)
Shlink no longer tries to detect trusted proxies automatically, when
resolving the visitor's IP address, as this is a potential security
issue.

Instead, if you have more than 1 proxy in front of Shlink, you should
provide `TRUSTED_PROXIES` env var, with either a comma-separated list of
the IP addresses of your proxies, or a number indicating how many
proxies are there in front of Shlink.

-
[#&#8203;2311](https://redirect.github.com/shlinkio/shlink/issues/2311)
All visits-related commands now return more information, and columns are
arranged slightly differently.

Among other things, they now always return the type of the visit,
region, visited URL, redirected URL and whether the visit comes from a
potential bot or not.

-
[#&#8203;2540](https://redirect.github.com/shlinkio/shlink/issues/2540)
Update Symfony packages to 8.0.

-
[#&#8203;2512](https://redirect.github.com/shlinkio/shlink/issues/2512)
Make all remaining console commands invokable.

##### Deprecated

- *Nothing*

##### Removed

-
[#&#8203;2507](https://redirect.github.com/shlinkio/shlink/issues/2507)
Drop support for PHP 8.3.
-
[#&#8203;2514](https://redirect.github.com/shlinkio/shlink/issues/2514)
Remove support to generate QR codes. This functionality is now handled
by Shlink Web Client and Shlink Dashboard.
-
[#&#8203;2517](https://redirect.github.com/shlinkio/shlink/issues/2517)
Remove `REDIRECT_APPEND_EXTRA_PATH` env var. Use
`REDIRECT_EXTRA_PATH_MODE=append` instead.
-
[#&#8203;2519](https://redirect.github.com/shlinkio/shlink/issues/2519)
Disabling API keys by their plain-text key is no longer supported. When
calling `api-key:disable`, the first argument is now always assumed to
be the name.
-
[#&#8203;2520](https://redirect.github.com/shlinkio/shlink/issues/2520)
Remove deprecated `--including-all-tags` and `--show-api-key-name`
options from `short-url:list` command. Use `--tags-all` and
`--show-api-key` instead.
-
[#&#8203;2521](https://redirect.github.com/shlinkio/shlink/issues/2521)
Remove deprecated `--tags` option in all commands using it. Use `--tag`
multiple times instead, one per tag.
-
[#&#8203;2543](https://redirect.github.com/shlinkio/shlink/issues/2543)
Remove support for `--order-by=field,dir` option `short-url:list`
command. Use `--order-by=field-dir` instead.
- Remove support to provide redis database index via URI path. Use
`?database=3` query instead.
-
[#&#8203;2565](https://redirect.github.com/shlinkio/shlink/issues/2565)
Remove explicit dependency in ext-json, since it's part of PHP since
v8.0

##### Fixed

-
[#&#8203;2564](https://redirect.github.com/shlinkio/shlink/issues/2564)
Fix error when trying to persist non-utf-8 title without being able to
determine its original charset for parsing.

Now, when resolving a website's charset, two improvements have been
introduced:

1. If the `Content-Type` header does not define the charset, we fall
back to `<meta charset>` or `<meta http-equiv="Content-Type">`.
2. If it's still not possible to determine the charset, we ignore the
auto-resolved title, to avoid other encoding errors further down the
line.

</details>

---

### Configuration

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

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **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:eyJjcmVhdGVkSW5WZXIiOiI0Mi4xNy4wIiwidXBkYXRlZEluVmVyIjoiNDIuMTcuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6WyJhcHAvc2hsaW5rIiwicmVub3ZhdGUvY29udGFpbmVyIiwidHlwZS9tYWpvciJdfQ==-->
2026-01-14 06:48:40 +01:00

60 lines
1.5 KiB
YAML

image:
repository: docker.io/shlinkio/shlink
pullPolicy: IfNotPresent
tag: 5.0.0@sha256:5bbedb6913b951f23428a61b581e7a22e33bdda0446455dfb4a598e57f15ff73
service:
main:
ports:
main:
port: 10153
cnpg:
main:
enabled: true
user: shlink
database: shlink
redis:
enabled: true
redisUsername: "default"
securityContext:
container:
runAsNonRoot: false
readOnlyRootFilesystem: false
runAsUser: 0
runAsGroup: 0
workload:
main:
podSpec:
containers:
main:
probes:
liveness:
path: "/rest/health"
readiness:
path: "/rest/health"
startup:
path: "/rest/health"
env:
DEFAULT_DOMAIN: ""
GEOLITE_LICENSE_KEY: ""
ANONYMIZE_REMOTE_ADDR: true
ENABLE_PERIODIC_VISIT_LOCATE: true
IS_HTTPS_ENABLED: true
PORT: "{{ .Values.service.main.ports.main.port }}"
DB_DRIVER: "postgres"
DB_USER: "{{ .Values.cnpg.main.user }}"
DB_NAME: "{{ .Values.cnpg.main.database }}"
DB_PASSWORD:
secretKeyRef:
name: cnpg-main-user
key: password
DB_HOST:
secretKeyRef:
name: cnpg-main-urls
key: host
REDIS_SERVERS:
secretKeyRef:
expandObjectName: false
name: '{{ printf "%s-%s" .Release.Name "rediscreds" }}'
key: url