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

[BUG] BotKube is sending older events when configured to watch update events #103

Closed
PrasadG193 opened this issue Jun 12, 2019 · 1 comment

Comments

Projects
None yet
1 participant
@PrasadG193
Copy link
Member

commented Jun 12, 2019

Describe the bug
A clear and concise description of what the bug is.

When BotKube is configured to watch update events of the resource. Each time when BotKube restarts, we are getting older update event for that pod

To Reproduce
Steps to reproduce the behavior:

  1. Deploy BotKube to watch updates on job resource:
  - name: jobs
    namespaces:
      - all
    events:
      - create
      - delete
      - error
      - update
  1. Create/delete jobs
  2. Restart BotKube and you should get notification of older events once BotKube starts

Expected behavior
BotKube should skip older update events on a resource

@PrasadG193 PrasadG193 added the bug label Jun 12, 2019

@PrasadG193 PrasadG193 self-assigned this Jun 19, 2019

@PrasadG193

This comment has been minimized.

Copy link
Member Author

commented Jun 19, 2019

Not a bug. Turns out my local system's time on which I was running BotKube binary was different than the instances on which K8s cluster was running. Hence closing the issue.

@PrasadG193 PrasadG193 closed this Jun 19, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.