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

Disallow updates of Queue arguments #830

Merged
merged 2 commits into from
May 28, 2024
Merged

Disallow updates of Queue arguments #830

merged 2 commits into from
May 28, 2024

Conversation

Zerpet
Copy link
Contributor

@Zerpet Zerpet commented May 27, 2024

This closes #822

Note to reviewers: remember to look at the commits in this PR and consider if they can be squashed
Note to contributors: remember to re-generate client set if there are any API changes

Summary Of Changes

Queue arguments can't be updated in RabbitMQ. The webhook now disallows updates on queue arguments, matching the behaviour of RabbitMQ.

@Zerpet Zerpet self-assigned this May 27, 2024
@Zerpet Zerpet added this to the v1.14.2 milestone May 27, 2024
api/v1beta1/queue_webhook_test.go Outdated Show resolved Hide resolved
Makefile Show resolved Hide resolved
Zerpet added 2 commits May 28, 2024 09:37
Queue arguments can't be updated in RabbitMQ. The webhook now disallows
updates on queue arguments, matching the behaviour of RabbitMQ.

Signed-off-by: Aitor Perez Cedres <[email protected]>
There is little value in running vuln in unit-tests. When it complains,
it complains about CVEs in your local Go version, which is
not the same Go binary that will build in CI (we use stable
and oldstable).

The target `git-commit-sha` was a no-op. The logic to determine whether
to add a `-` at the end of the commit SHA was broken, it was always
chosing to add a `-`. Now the `GIT_COMMIT` is always the HEAD commit SHA
+ `-dev` suffix.

Signed-off-by: Aitor Perez Cedres <[email protected]>
@Zerpet Zerpet force-pushed the fix/inmutable-queue-args branch from 6d89906 to f13f359 Compare May 28, 2024 08:45
@Zerpet Zerpet merged commit 1a93d84 into main May 28, 2024
6 checks passed
@Zerpet Zerpet deleted the fix/inmutable-queue-args branch May 28, 2024 09:01
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.

Queue arguments are not re-concealed
3 participants