operator-framework / operator-framework/josdk-spring-boot-starter

Received events from real cluster using @EnableMockOperator

Open
#27 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
58
Forks
31
Avg merge
4d 1h
Merged PRs (30d)
9

Description

Running a simple test using @EnableMockOperator annotation:

@SpringBootTest
@ActiveProfiles("test")
@EnableMockOperator
public class MyReconcilerSpringBootIT {
    @Test
    void contextLoads() {
    }
}

At the beginning of the execution, my reconciler receives events for each custom resource from my real kubernetes cluster (configured in .kube/config).

Is this correct?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the @EnableMockOperator annotation and the MyReconcilerSpringBootIT test context, then inspect how the test uses .kube/config. Reproduce the test and determine whether receiving events from the configured real cluster is expected; done means the behavior is confirmed and the issue is resolved or clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, kubernetes
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.