Skip to content

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

Open
darkweaver87 wants to merge 1 commit into
traefik:masterfrom
darkweaver87:feat/hub-openapi-refresh-interval
Open

feat(hub): ✨ support apiManagement OpenAPI refresh interval#1949
darkweaver87 wants to merge 1 commit into
traefik:masterfrom
darkweaver87:feat/hub-openapi-refresh-interval

Conversation

@darkweaver87

Copy link
Copy Markdown
Contributor

What does this PR do?

Maps the Traefik Hub 3.21 --hub.apiManagement.openApi.refreshInterval flag to hub.apimanagement.openApi.refreshInterval, alongside the existing validateRequestMethodAndPath field. Emitted only when set, so the provider keeps its 0 (disabled) default. Gated on 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant