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

feat(operator): Introduce KeptnEvaluation Controller + CRD #168

Merged
merged 29 commits into from
Oct 18, 2022
Merged

feat(operator): Introduce KeptnEvaluation Controller + CRD #168

merged 29 commits into from
Oct 18, 2022

Conversation

odubajDT
Copy link
Contributor

@odubajDT odubajDT commented Oct 14, 2022

Signed-off-by: odubajDT ondrej.dubaj@dynatrace.com

This PR introduces the controller for KeptnEvaluations, to test it :

cd operator/config/samples
 kubectl apply -f lifecycle_v1alpha1_keptnevaluationprovider.yaml 
 kubectl apply -f lifecycle_v1alpha1_keptnevaluationdefinition.yaml 
 kubectl apply -f lifecycle_v1alpha1_keptnevaluation.yaml 

image

Resolves: #161

Notes: what to do with prometheus query and Timeframes should be defined in the PR for #163

Type, FailAction and RetryInterval are also currently unused and in there for later PR

Copy link
Contributor

@thschue thschue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just change the webhook in a way that annotations or labels could be used

operator/api/v1alpha1/common/common.go Outdated Show resolved Hide resolved
operator/api/v1alpha1/common/common.go Outdated Show resolved Hide resolved
operator/api/v1alpha1/common/phases.go Outdated Show resolved Hide resolved
operator/webhooks/pod_mutating_webhook.go Outdated Show resolved Hide resolved
@thschue thschue removed the on hold Do not merge yet label Oct 18, 2022
odubajDT and others added 19 commits October 18, 2022 09:45
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
Signed-off-by: RealAnna <anna.reale@dynatrace.com>
Signed-off-by: RealAnna <anna.reale@dynatrace.com>
Signed-off-by: RealAnna <anna.reale@dynatrace.com>
Signed-off-by: RealAnna <anna.reale@dynatrace.com>
Signed-off-by: RealAnna <anna.reale@dynatrace.com>
Signed-off-by: RealAnna <anna.reale@dynatrace.com>
Signed-off-by: RealAnna <anna.reale@dynatrace.com>
Signed-off-by: RealAnna <anna.reale@dynatrace.com>
Signed-off-by: RealAnna <anna.reale@dynatrace.com>
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
Signed-off-by: RealAnna <anna.reale@dynatrace.com>
Signed-off-by: RealAnna <anna.reale@dynatrace.com>
RealAnna and others added 10 commits October 18, 2022 09:45
Signed-off-by: RealAnna <anna.reale@dynatrace.com>
Signed-off-by: RealAnna <anna.reale@dynatrace.com>
Signed-off-by: RealAnna <anna.reale@dynatrace.com>
Signed-off-by: RealAnna <anna.reale@dynatrace.com>
…ation

Signed-off-by: RealAnna <anna.reale@dynatrace.com>
…ation

Signed-off-by: RealAnna <anna.reale@dynatrace.com>
…ation

Signed-off-by: RealAnna <anna.reale@dynatrace.com>
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
@RealAnna RealAnna requested a review from thschue October 18, 2022 07:55
Copy link
Contributor

@thschue thschue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@bacherfl bacherfl merged commit 1ce044a into keptn:main Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bootstrap KeptnEvaluation Controller
4 participants