Skip to content

feat(hub): ✨ support apiManagement OpenAPI refresh interval - #1949

Merged
traefiker merged 5 commits into
traefik:masterfrom
darkweaver87:feat/hub-openapi-refresh-interval
Aug 27, 2026
Merged

feat(hub): ✨ support apiManagement OpenAPI refresh interval#1949
traefiker merged 5 commits into
traefik:masterfrom
darkweaver87:feat/hub-openapi-refresh-interval

Conversation

@darkweaver87

@darkweaver87 darkweaver87 commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Maps the Traefik Hub 3.21 --hub.apiManagement.openApi.refreshInterval flag.

Emitted only when set, so Traefik Hub keeps its 1m default.

Gated on hub.apimanagement.enabled and Traefik Hub >= v3.21.0 in requirements.yaml.

Motivation

Traefik Hub 3.21 added --hub.apimanagement.openapi.refreshinterval to control how often the OpenAPI specification is refreshed. The chart had no mapping for it, so the only workaround was additionalArguments.

More

  • Yes, I updated the tests accordingly
  • Yes, I updated the schema accordingly
  • Yes, I ran make test and all the tests passed

@mloiseleur

Copy link
Copy Markdown
Member

@darkweaver87 I've put my review in darkweaver87#25

@mloiseleur mloiseleur added the kind/enhancement New feature or request label Aug 6, 2026
@darkweaver87
darkweaver87 force-pushed the feat/hub-openapi-refresh-interval branch from a6da987 to c736f43 Compare August 25, 2026 13:29
@darkweaver87

darkweaver87 commented Aug 25, 2026

Copy link
Copy Markdown
Contributor Author

@mloiseleur Applied in d895eec, except traefik.convertDurationToSeconds: re-implementing a Go duration parser in Helm templates is not the chart's responsibility, and Traefik Hub already rejects sub-minute values at startup.

@darkweaver87
darkweaver87 force-pushed the feat/hub-openapi-refresh-interval branch from c736f43 to d895eec Compare August 25, 2026 13:33
Comment thread traefik/tests/requirements-config_test.yaml Outdated
Comment thread traefik/templates/requirements.yaml Outdated
Comment thread traefik/values.yaml Outdated
@darkweaver87
darkweaver87 force-pushed the feat/hub-openapi-refresh-interval branch 2 times, most recently from ca181fd to 39da2ed Compare August 26, 2026 13:25
@mloiseleur
mloiseleur force-pushed the feat/hub-openapi-refresh-interval branch from 39da2ed to 10dccc2 Compare August 27, 2026 13:28
@traefiker
traefiker merged commit ba0e6ea into traefik:master Aug 27, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants