Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Webhook accepts invalid service tags #6493

Closed
huib-portainer opened this issue Jan 28, 2022 · 0 comments
Closed

Webhook accepts invalid service tags #6493

huib-portainer opened this issue Jan 28, 2022 · 0 comments
Labels
Milestone

Comments

@huib-portainer
Copy link
Contributor

Is your feature request related to a problem? Please describe.
When using the service webhook with an invalid tag the status of the swarm service’s task becomes “rejected” and the swarm service becomes out of service.

e.g.
curl -X POST http://localhost:9000/api/webhooks/5d300dae-8ab8-4ce5-b429-cd82735de521?tag=hahaha

Describe the solution you'd like
The service webhook should guard against invalid tags

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant