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

Add a fallback mechanism to look for KeptnTaskDefinitions #1338

Closed
2 tasks
thisthat opened this issue May 2, 2023 · 0 comments · Fixed by #1340
Closed
2 tasks

Add a fallback mechanism to look for KeptnTaskDefinitions #1338

thisthat opened this issue May 2, 2023 · 0 comments · Fixed by #1340
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@thisthat
Copy link
Member

thisthat commented May 2, 2023

Goal

KLT fallbacks to search for a KeptnTaskDefinition in the ns in which it's deployed if it cannot find it in the ns of the KeptnApp

Technical details

Currently, KLT only looks for KeptnTaskDefinition in the same namespace in which the KeptnApp is defined. If the task is not found, it will stop with an error. We should provide a fallback to look into the same ns in which KLT is deployed. If a task is found there, it will be executed. Otherwise, it will stop the deployment with an error.

DoD

  • Unit tests
  • KLT has a fallback search for KeptnTaskDefinition in its ns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
2 participants