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

Support Standard Kuberentes Resources not just CustomResource #678

Merged
merged 31 commits into from
Nov 22, 2021

Conversation

csviri
Copy link
Collaborator

@csviri csviri commented Nov 12, 2021

No description provided.

@csviri csviri changed the title Support non cr Support Standard Kuberentes Resources not just CustomResource Nov 12, 2021
@csviri csviri linked an issue Nov 12, 2021 that may be closed by this pull request
@csviri csviri marked this pull request as ready for review November 18, 2021 14:59
csviri and others added 6 commits November 19, 2021 16:32
# Conflicts:
#	operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/Cloner.java
#	operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/ConfigurationService.java
@@ -30,15 +30,14 @@
@Test
public void testReconciliationOfNonCustomResourceAndStatusUpdate() {
var deployment = operator.create(Deployment.class, testDeployment());
await().atMost(10, TimeUnit.SECONDS).untilAsserted(() -> {
await().atMost(15, TimeUnit.SECONDS).untilAsserted(() -> {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is it taking longer now, though?

Copy link
Collaborator Author

@csviri csviri Nov 22, 2021

Choose a reason for hiding this comment

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

trying something, just on one kubernetes version in tests sometimes fails. And it looks like for a timeout for retry after a conflict. But still working on it to figure it out

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It seems that the problem is with namespace deletion, not with the actual test logic.

@csviri csviri merged commit 63b8cd9 into v2 Nov 22, 2021
@csviri csviri deleted the support-non-cr branch November 22, 2021 09:49
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.

Support any Kubernetes Resource not just Custom Resources
2 participants