You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Version of Helm and Kubernetes: Not relevant (Kubernetes: v1.30, Helm: v3.15.3)
Version of ct:
Version: 3.11.0
Git commit: v3.11.0
Date: 1970-01-01 00:00:00 (nix build)
License: Apache 2.0
What happened:
There is an inconsistency in the configuration syntax between the output of the ct lint --print-config command and the required format for the ct.yaml configuration file. This discrepancy confuses and necessitates a "trial and error" approach rather than a straightforward configuration.
For example, the output from ct lint --print-config displays the following:
However, the ct.yaml file requires a different format for the same configuration options—not just a difference in case style, but entirely different option names—which is counterintuitive. For instance:
ProcessAllCharts: true in the command output corresponds to all: true in ct.yaml (CLI argument: --all).
ValidateMaintainers: true corresponds to validate-maintainers: true in ct.yaml (CLI argument: --validate-maintainers).
This discrepancy is both confusing and frustrating for users who expect consistency between the output of the ct lint --print-config command and the ct.yaml configuration file format.
What you expected to happen:
I expected the configuration format in the ct.yaml file to be consistent with the output from ct lint --print-config. Specifically, the options and their naming conventions should match, enabling users to easily translate the printed configuration into a working ct.yaml file without needing to cross-reference different formats or option names.
Moreover, it would be reasonable to expect that the output from --print-config could be directly saved as the current configuration. Unfortunately, this is not the case. As a result, the --print-config option becomes redundant since it cannot be directly applied or saved as a valid configuration file without manual adjustments.
How to reproduce it (as minimally and precisely as possible):
Create a ct.yaml configuration file using the output from ct lint --print-config.
Attempt to run ct lint using this configuration file.
Observe that the configuration is missing due to mismatched option names and formats.
Anything else we need to know:
No additional information is required at this time, but this issue significantly impacts usability, particularly for inexperienced users or those unfamiliar with the tool.
The text was updated successfully, but these errors were encountered:
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Version of Helm and Kubernetes: Not relevant (Kubernetes: v1.30, Helm: v3.15.3)
Version of
ct
:What happened:
There is an inconsistency in the configuration syntax between the output of the
ct lint --print-config
command and the required format for thect.yaml
configuration file. This discrepancy confuses and necessitates a "trial and error" approach rather than a straightforward configuration.For example, the output from
ct lint --print-config
displays the following:However, the
ct.yaml
file requires a different format for the same configuration options—not just a difference in case style, but entirely different option names—which is counterintuitive. For instance:ProcessAllCharts: true
in the command output corresponds toall: true
inct.yaml
(CLI argument:--all
).ValidateMaintainers: true
corresponds tovalidate-maintainers: true
inct.yaml
(CLI argument:--validate-maintainers
).This discrepancy is both confusing and frustrating for users who expect consistency between the output of the
ct lint --print-config
command and thect.yaml
configuration file format.What you expected to happen:
I expected the configuration format in the
ct.yaml
file to be consistent with the output fromct lint --print-config
. Specifically, the options and their naming conventions should match, enabling users to easily translate the printed configuration into a workingct.yaml
file without needing to cross-reference different formats or option names.Moreover, it would be reasonable to expect that the output from
--print-config
could be directly saved as the current configuration. Unfortunately, this is not the case. As a result, the--print-config
option becomes redundant since it cannot be directly applied or saved as a valid configuration file without manual adjustments.How to reproduce it (as minimally and precisely as possible):
ct.yaml
configuration file using the output fromct lint --print-config
.ct lint
using this configuration file.Anything else we need to know:
No additional information is required at this time, but this issue significantly impacts usability, particularly for inexperienced users or those unfamiliar with the tool.
The text was updated successfully, but these errors were encountered: