Files
hassio-addons/portainer_agent/config.yaml
Alexandre 74121509cd fix: give every addon a version Home Assistant can order (#2926)
Seventeen addons carried a config.yaml version that awesomeversion, the
library Home Assistant orders versions with, reports as UNKNOWN: text
tags such as version-bf9e0b4f or sts, LinuxServer tags such as
v26.2-ls256, and local counters written as a semver pre-release such as
15.7-47. Home Assistant cannot tell which of two such versions is newer,
so update detection depends on a compare exception rather than on
ordering, and any version that becomes partially comparable silently
stops being offered.

Each version keeps every number it carried, as a section of its own:
v26.2-ls256 becomes v26.2.256, 4.16-r0-ls95-7 becomes 4.16.0.95.7 and
5.0.0b5-3 becomes 5.0.0.5.3, so nothing that ordered the addon is lost
and no previously published version is reused. The two versions holding
no number at all use the date instead. Only config.yaml and CHANGELOG.md
change, so every addon still builds from the upstream tag recorded in
its Dockerfile and updater.json.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-01 18:51:31 +02:00

45 lines
938 B
YAML

arch:
- aarch64
- amd64
backup_exclude:
- backups
description: An agent used to manage all the resources in a Swarm cluster
docker_api: true
full_access: true
hassio_api: true
image: ghcr.io/alexbelgium/portainer_agent-{arch}
init: false
map:
- config:rw
- share:rw
- ssl
name: Portainer Agent
options:
env_vars: []
ports:
80/tcp: null
9001/tcp: 9001
ports_description:
80/tcp: Portainer edge agent
9001/tcp: Portainer agent
schema:
env_vars:
- name: match(^[A-Za-z0-9_]+$)
value: str?
AGENT_CLUSTER_ADDR: str?
AGENT_CLUSTER_PROBE_INTERVAL: str?
AGENT_CLUSTER_PROBE_TIMEOUT: str?
AGENT_SECRET: str?
AGENT_SECRET_TIMEOUT: str?
EDGE: list(0|1)?
EDGE_ID: str?
EDGE_INACTIVITY_TIMEOUT: str?
EDGE_INSECURE_POLL: list(0|1)?
EDGE_KEY: str?
LOG_LEVEL: str?
PORTAINER_AGENT_ARGS: str?
slug: portainer_agent
udev: true
url: https://github.com/alexbelgium/hassio-addons
version: "2025.12.6"