8000 chore: update CLI warning messages by MariamFahmy98 · Pull Request #13060 · kyverno/kyverno · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chore: update CLI warning messages #13060

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

Merged
merged 3 commits into from
May 7, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cmd/cli/kubectl-kyverno/deprecations/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
if resource != nil {
if resource.APIVersion == "" || resource.Kind == "" {
if out != nil {
fmt.Fprintf(out, "\nWARNING: user infos file (%s) uses a deprecated schema that will be removed in 1.13\n", path)
fmt.Fprintf(out, "\nWARNING: user infos file (%s) uses a deprecated schema that will be removed in 1.15\n", path)

Check warning on line 14 in cmd/cli/kubectl-kyverno/deprecations/check.go

View check run for this annotation

Codecov / codecov/patch

cmd/cli/kubectl-kyverno/deprecations/check.go#L14

Added line #L14 was not covered by tests
}
return true
}
Expand All @@ -23,7 +23,7 @@
if resource != nil {
if resource.APIVersion == "" || resource.Kind == "" {
if out != nil {
fmt.Fprintf(out, "\nWARNING: values file (%s) uses a deprecated schema that will be removed in 1.13\n", path)
fmt.Fprintf(out, "\nWARNING: values file (%s) uses a deprecated schema that will be removed in 1.15\n", path)

Check warning on line 26 in cmd/cli/kubectl-kyverno/deprecations/check.go

View check run for this annotation

Codecov / codecov/patch

cmd/cli/kubectl-kyverno/deprecations/check.go#L26

Added line #L26 was not covered by tests
}
return true
}
Expand All @@ -42,7 +42,7 @@
for _, result := range resource.Results {
if result.TestResultDeprecated.Status != "" || result.TestResultDeprecated.Namespace != "" || result.TestResultDeprecated.Resource != "" || result.TestResultDeprecated.PatchedResource != "" {
if out != nil {
fmt.Fprintf(out, "\nWARNING: test file (%s) uses a deprecated schema that will be removed in 1.14\n", path)
fmt.Fprintf(out, "\nWARNING: test file (%s) uses a deprecated schema that will be removed in 1.15\n", path)

Check warning on line 45 in cmd/cli/kubectl-kyverno/deprecations/check.go

View check run for this annotation

Codecov / codecov/patch

cmd/cli/kubectl-kyverno/deprecations/check.go#L45

Added line #L45 was not covered by tests
}
return true
}
Expand Down
Loading
0