Skip to content
This repository was archived by the owner on Mar 11, 2022. It is now read-only.
This repository was archived by the owner on Mar 11, 2022. It is now read-only.

Operator doesn't handle errors well #52

@Smiley73

Description

@Smiley73

What happens?

During the testing of the new examples, a couple of problems were observed:

  • The operator sometimes gets stuck and doesn't start new jobs if the previous didn't complete successfully. A restart is required.
  • When there are errors with the repo (no access, wrong branch, missing files, missing template image) and the config doesn't get applied, the GitOpsConfig CRs often can't be deleted afterwards. The Finalizer has to be disabled to remove it.
  • Behavior affects other namespaces also.

Not sure if these are related. I'll keep documenting more behaviors as I do more testing.

What were you expecting to happen?

The Operator gracefully handles any issues, doesn't get "stuck" , and the CR can always be deleted without having to "patch" the resource.

Steps to reproduce:

  • Use the examples and modify one of the CRs to not being able to pull the repo. Leave the trigger as change.
  • Apply the CR and let it spin.
  • Try deleting the CR
  • Try applying an other CR in a different namespace

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions