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

fix: fixing consumer-group related dump config for deck. #159

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Prashansa-K
Copy link
Collaborator

@Prashansa-K Prashansa-K commented Jan 8, 2025

With changes added in go-kong, to skip
listing consumers while doing a GET call
on a consumer_group, dump config with gw
3.9+ starting showing issues. Associations
between a consumer and consumer-group were
missing. Thus, we are pushing the no listing
consumers feature behind a flag for now.

This change adds a new config that can be
set via a deck command flag. If set to true,
it will not list consumers-consumer group
associations.

Depends on Kong/go-kong#494

Issues resolved

For Kong/deck#1483

Documentation

Testing

  • Unit tests
  • E2E tests
  • Manual testing on Universal
  • Manual testing on Kubernetes

With changes added in go-kong, to skip
listing consumers while doing a GET call
on a consumer_group, dump config with gw
3.9+ starting showing issues. Associations
between a consumer and consumer-group were
missing. Thus, we are pushing the no listing
consumers feature behind a flag for now,
applicable only for dump command as a
starting point.

This change adds a new config that can be
set via a deck command flag. If set to true,
it will not list consumers-consumer group
associations in the dump file.
@mheap
Copy link
Member

mheap commented Jan 8, 2025

@Prashansa-K This flag should apply to diff and sync too. It’s suitable when consumers are being managed in a different file.

By default, consumers should be included in all commands

@Prashansa-K
Copy link
Collaborator Author

@Prashansa-K This flag should apply to diff and sync too. It’s suitable when consumers are being managed in a different file.

By default, consumers should be included in all commands

Alright. That should be fine for this PR. We should not require any more code changes to support the said flag with sync and diff. I will update the description.

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

Successfully merging this pull request may close these issues.

2 participants