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

Limit uniqueness of items in credentials in KongConsumer #5402

Closed
2 tasks done
randmonkey opened this issue Jan 5, 2024 · 0 comments · Fixed by #5787 or #5894
Closed
2 tasks done

Limit uniqueness of items in credentials in KongConsumer #5402

randmonkey opened this issue Jan 5, 2024 · 0 comments · Fixed by #5787 or #5894
Assignees
Labels
area/admission area/CRD Changes in existing CRDs or introduction of new ones area/debt
Milestone

Comments

@randmonkey
Copy link
Contributor

randmonkey commented Jan 5, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Problem Statement

Internally tracked as FTI-5669.
Duplicate credentials in consumer is meaningless, and Kong 3.4 or above rejects such configuration. To avoid the invalid configuration generated, we need to reject duplicate credentials in consumers.

Proposed Solution

  • reject duplicate items in credentials list of KongConsumer in CEL on definition of the CR, or reject it in webhooks.

Additional information

No response

Acceptance Criteria

  • KongConsumer with duplicate items in credentials is rejected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment