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

OSSM-5398 Add test checking spec.values validation #1491

Closed
wants to merge 1 commit into from

Conversation

bmangoen
Copy link
Contributor

No description provided.

@bmangoen bmangoen requested a review from luksa November 23, 2023 14:30
@openshift-ci openshift-ci bot added the size/M label Nov 23, 2023
@bmangoen
Copy link
Contributor Author

/retest

1 similar comment
@luksa
Copy link
Contributor

luksa commented Nov 23, 2023

/retest

"pilot":{"image":"` + pilotImage + `"},
"istio_cni":{"enabled":true}
}`),
Values: istioValues,
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure if it's a good idea to change the values of the existing test. Better to add a new test.

}`)

istioValues := []byte(`{
"donotexist": "shouldbeomitted",
Copy link
Contributor

Choose a reason for hiding this comment

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

This value should throw an error instead of being silently ignored.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually, this value is omitted without throwing an error by the controller-runtime client but only as an info warning INFO KubeAPIWarningLogger unknown field "spec.values.donotexist". Should we try to catch this as an error?

Copy link

openshift-ci bot commented Mar 7, 2024

@bmangoen: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/integration-ocp e91bcdf link true /test integration-ocp
ci/prow/integration-ocp-4-14-arm e91bcdf link true /test integration-ocp-4-14-arm
ci/prow/integration-ocp-4-15-arm e91bcdf link true /test integration-ocp-4-15-arm

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@bmangoen bmangoen closed this Mar 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants