-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Improvements on Operator Integration Tests to make sure that Config set in CR takes precedence #16639
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
Conversation
3466964 to
b960274
Compare
b960274 to
2eae17f
Compare
2eae17f to
f7a8666
Compare
f7a8666 to
ddc4a72
Compare
ab885f9 to
5dac86f
Compare
vmuzikar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@andre-nascimento-rh Thank you for this PR. Added a few comments.
operator/src/test/java/org/keycloak/operator/testsuite/integration/KeycloakDeploymentTest.java
Outdated
Show resolved
Hide resolved
operator/src/test/java/org/keycloak/operator/testsuite/integration/KeycloakDeploymentTest.java
Outdated
Show resolved
Hide resolved
operator/src/test/java/org/keycloak/operator/testsuite/integration/KeycloakDeploymentTest.java
Outdated
Show resolved
Hide resolved
operator/src/test/java/org/keycloak/operator/testsuite/integration/PodTemplateTest.java
Outdated
Show resolved
Hide resolved
5dac86f to
02ae5d1
Compare
0cdc4ae to
4e9d50b
Compare
ghost
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unreported flaky test detected, please review
Unreported flaky test detectedIf the below flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR. org.keycloak.testsuite.ui.account2.WelcomeScreenTest#applicationsTestKeycloak CI - Account Console IT (firefox) |
vmuzikar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@andre-nascimento-rh Thanks for the update, added two more comments.
operator/src/test/resources/correct-with-proxy-set-podtemplate-keycloak.yml
Outdated
Show resolved
Hide resolved
operator/src/test/java/org/keycloak/operator/testsuite/integration/PodTemplateTest.java
Outdated
Show resolved
Hide resolved
|
Due to the fact that the Operator does not support overriding or removing Thanks. |
4e9d50b to
37ba223
Compare
…et in CR takes precedence. Closes keycloak#13114
37ba223 to
c32a55d
Compare
vmuzikar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
In order to make sure that the Config set in CR takes Precedence over the default values and hence none Environment Variable gets duplicated in Deployment, then just some improvements on Operator Integration Tests were implemented.
Closes #13114