Skip to content

Conversation

@jaxels10
Copy link
Contributor

Resolves: #5066 which requested each flags implementation of Values.Type() should return the accepted values.

Feedback welcome.

Notes:

  1. I have not done any changes to flags which only has a single accepted value. This is to not confuse the user. Let me know if I need to change this
  2. I could not find a reference for internal/flags/local_helm_chart_source.go and it seems the supportedHelmChartSourceKinds is never defined in the file

Copy link
Member

@matheuscscp matheuscscp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this PR and the fix is working, but there's a few comments we should probably address

@matheuscscp matheuscscp added the backport:release/v2.7.x To be backported to release/v2.7.x label Oct 28, 2025
Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@matheuscscp matheuscscp merged commit 31287b9 into fluxcd:main Oct 28, 2025
7 checks passed
@fluxcdbot
Copy link
Member

Successfully created backport PR for release/v2.7.x:

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

Labels

backport:release/v2.7.x To be backported to release/v2.7.x

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change flags with fixed allowed values to show the actual values

4 participants