-
Notifications
You must be signed in to change notification settings - Fork 122
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: add cert-manager logic #528
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #528 +/- ##
==========================================
+ Coverage 49.83% 49.87% +0.03%
==========================================
Files 60 60
Lines 5528 5528
==========================================
+ Hits 2755 2757 +2
+ Misses 2664 2663 -1
+ Partials 109 108 -1
Flags with carried forward coverage won't be shown. Click here to find out more. |
c7a0e9c
to
2dae13f
Compare
3f9a0a2
to
e355d36
Compare
cert-manager/controllers/keptnwebhookcontroller/keptnwebhookcertificate_controller.go
Outdated
Show resolved
Hide resolved
cert-manager/controllers/keptnwebhookcontroller/certificate_secret.go
Outdated
Show resolved
Hide resolved
cert-manager/controllers/keptnwebhookcontroller/keptnwebhookcertificate_controller.go
Outdated
Show resolved
Hide resolved
cert-manager/controllers/keptnwebhookcontroller/keptnwebhookcertificate_controller.go
Outdated
Show resolved
Hide resolved
e355d36
to
d9fccd3
Compare
7d43bab
to
f5c4e99
Compare
736688e
to
20fb545
Compare
klt-cert-manager/controllers/keptnwebhookcontroller/keptnwebhookcertificate_controller.go
Outdated
Show resolved
Hide resolved
klt-cert-manager/controllers/keptnwebhookcontroller/keptnwebhookcertificate_controller.go
Outdated
Show resolved
Hide resolved
klt-cert-manager/controllers/keptnwebhookcontroller/keptnwebhookcertificate_controller.go
Outdated
Show resolved
Hide resolved
36dda88
to
bd8749d
Compare
f76be02
to
7742580
Compare
klt-cert-manager/controllers/keptnwebhookcontroller/certificate_secret.go
Outdated
Show resolved
Hide resolved
klt-cert-manager/controllers/keptnwebhookcontroller/certificate_secret.go
Outdated
Show resolved
Hide resolved
klt-cert-manager/controllers/keptnwebhookcontroller/certificate_secret.go
Outdated
Show resolved
Hide resolved
klt-cert-manager/controllers/keptnwebhookcontroller/keptnwebhookcertificate_controller.go
Outdated
Show resolved
Hide resolved
klt-cert-manager/controllers/keptnwebhookcontroller/keptnwebhookcertificate_controller.go
Outdated
Show resolved
Hide resolved
klt-cert-manager/controllers/keptnwebhookcontroller/keptnwebhookcertificate_controller.go
Show resolved
Hide resolved
klt-cert-manager/controllers/keptnwebhookcontroller/keptnwebhookcertificate_controller.go
Outdated
Show resolved
Hide resolved
klt-cert-manager/controllers/keptnwebhookcontroller/webhook_cert_controller_test.go
Show resolved
Hide resolved
705663c
to
4292f3a
Compare
Signed-off-by: RealAnna <anna.reale@dynatrace.com> feat: added base for cert-manager Signed-off-by: RealAnna <anna.reale@dynatrace.com>
Signed-off-by: RealAnna <anna.reale@dynatrace.com> rename Signed-off-by: RealAnna <anna.reale@dynatrace.com> rename Signed-off-by: RealAnna <anna.reale@dynatrace.com> feat: peer review Signed-off-by: RealAnna <anna.reale@dynatrace.com>
Co-authored-by: odubajDT <93584209+odubajDT@users.noreply.github.com> Signed-off-by: RealAnna <89971034+RealAnna@users.noreply.github.com> Update klt-cert-manager/controllers/keptnwebhookcontroller/keptnwebhookcertificate_controller.go Co-authored-by: odubajDT <93584209+odubajDT@users.noreply.github.com> Signed-off-by: RealAnna <89971034+RealAnna@users.noreply.github.com> Update klt-cert-manager/controllers/keptnwebhookcontroller/keptnwebhookcertificate_controller.go Co-authored-by: odubajDT <93584209+odubajDT@users.noreply.github.com> Signed-off-by: RealAnna <89971034+RealAnna@users.noreply.github.com> Update klt-cert-manager/controllers/keptnwebhookcontroller/keptnwebhookcertificate_controller.go Co-authored-by: odubajDT <93584209+odubajDT@users.noreply.github.com> Signed-off-by: RealAnna <89971034+RealAnna@users.noreply.github.com> rename Signed-off-by: RealAnna <anna.reale@dynatrace.com> feat: added logic for cert handling Signed-off-by: RealAnna <anna.reale@dynatrace.com> removed old label Signed-off-by: RealAnna <anna.reale@dynatrace.com> fix according to reviews Signed-off-by: RealAnna <anna.reale@dynatrace.com> fix according to reviews Signed-off-by: RealAnna <anna.reale@dynatrace.com> feat: fix certmanager logic Signed-off-by: RealAnna <anna.reale@dynatrace.com> feat: added secrets for conv webhook Signed-off-by: RealAnna <anna.reale@dynatrace.com> feat: tests Signed-off-by: RealAnna <anna.reale@dynatrace.com> feat: cleaned up Signed-off-by: RealAnna <anna.reale@dynatrace.com> feat: added crds config Signed-off-by: RealAnna <anna.reale@dynatrace.com> feat: peer review, renamed things Signed-off-by: RealAnna <anna.reale@dynatrace.com> feat: added logic for cert handling Signed-off-by: RealAnna <anna.reale@dynatrace.com> feat: removedatogenerated TODO Signed-off-by: RealAnna <anna.reale@dynatrace.com> feat: added logic for cert handling Signed-off-by: RealAnna <anna.reale@dynatrace.com>
Signed-off-by: RealAnna <anna.reale@dynatrace.com> addressed reviews Signed-off-by: RealAnna <anna.reale@dynatrace.com>
Signed-off-by: Thomas Schuetz <thomas.schuetz@dynatrace.com>
Signed-off-by: RealAnna <anna.reale@dynatrace.com> added to CI build Signed-off-by: RealAnna <anna.reale@dynatrace.com> added to CI build Signed-off-by: RealAnna <anna.reale@dynatrace.com>
Signed-off-by: RealAnna <anna.reale@dynatrace.com> review Co-authored-by: Florian Bacher <florian.bacher@dynatrace.com> Signed-off-by: RealAnna <89971034+RealAnna@users.noreply.github.com> review Co-authored-by: Florian Bacher <florian.bacher@dynatrace.com> Signed-off-by: RealAnna <89971034+RealAnna@users.noreply.github.com> review Co-authored-by: Florian Bacher <florian.bacher@dynatrace.com> Signed-off-by: RealAnna <89971034+RealAnna@users.noreply.github.com>
Signed-off-by: RealAnna <anna.reale@dynatrace.com>
4292f3a
to
16e4b47
Compare
Signed-off-by: RealAnna <anna.reale@dynatrace.com>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
This pr adds logic to generate certificate fo the lifecycle toolkit operator, the whiring and changes to the operator will be in a follow up pr.
main controller logic:
the whole kubeobject folder uses code from dynatrace/operator
the code in keptnwebhookcontroller is an adaptation of dynatrace/operator/certcontroller