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 configuration validation documentation #3863

Merged
merged 1 commit into from
Jan 2, 2024
Merged

Conversation

mtausig
Copy link
Contributor

@mtausig mtausig commented Dec 28, 2023

Description

Using k0s validate config, as previously done, produces the warning message

Command "config" is deprecated, use 'k0s config validate' instead

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

How Has This Been Tested?

  • Manual test
  • Auto test added
$ k0s validate config --config k0sctl.yaml       
Command "config" is deprecated, use 'k0s config validate' instead
Error: failed to read config: error unmarshaling JSON: while decoding JSON: json: unknown field "hosts"
                                                                                                                                                        
$ k0s config validate --config k0sctl.yaml 
Error: failed to read config: error unmarshaling JSON: while decoding JSON: json: unknown field "hosts"

Checklist:

  • My commit messages are signed-off
  • I have checked my code and corrected any misspellings

Using `k0s validate config` produces the warning message

> Command "config" is deprecated, use 'k0s config validate' instead


Signed-off-by: Mat <mtausig@users.noreply.github.com>
@mtausig mtausig requested a review from a team as a code owner December 28, 2023 15:12
@mtausig mtausig requested review from twz123 and jnummelin December 28, 2023 15:12
Copy link
Member

@twz123 twz123 left a comment

Choose a reason for hiding this comment

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

Thanks!

@twz123 twz123 merged commit c2f5a31 into k0sproject:main Jan 2, 2024
5 checks passed
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