Because single job run does not guarantee that the task is performed successfully.
Problem
Cause
Solution
Core apps reconfiguration (otomi-tasks) do not reconcile
Imperative jobs to configure core applications that cannot be rerun. Jobs are blocking and do not rerun of failure
Controller that is trying to achieve the declared state
Frequency
Effort
Risk
Every pipeline run
medium
low
Acceptance criteria
GIVEN gitea, keycloak, harbor core apps
WHEN oidc settings OR domainSuffix is changed
THEN otomi operator reconfigures Harbor AND Keycloak AND Gitea
GIVEN gitea, keycloak, harbor core apps
WHEN it configuration attempt fails
THEN otomi operator re-tires with some delay until it succeeds
GIVEN gitea, keycloak, harbor core apps
WHEN teams namespace is added or deleted
THEN otomi operator reconfigures Harbor AND Keycloak AND Gitea accordingly
Definition of done
[ ] Relevant PRs are merged
[ ] Tested by peer
[ ] Updated documentation reviewed by peer
[ ] Short demo video recorded and stored on google drive (if applicable)
WHY
Because single job run does not guarantee that the task is performed successfully.
Acceptance criteria
GIVEN gitea, keycloak, harbor core apps WHEN oidc settings OR domainSuffix is changed THEN otomi operator reconfigures Harbor AND Keycloak AND Gitea
GIVEN gitea, keycloak, harbor core apps WHEN it configuration attempt fails THEN otomi operator re-tires with some delay until it succeeds
GIVEN gitea, keycloak, harbor core apps WHEN teams namespace is added or deleted THEN otomi operator reconfigures Harbor AND Keycloak AND Gitea accordingly
Definition of done