From 33d494c537ea055d61e6a32d63c7812e0af90575 Mon Sep 17 00:00:00 2001 From: Moritz Wiesinger Date: Mon, 24 Oct 2022 10:12:24 +0200 Subject: [PATCH] chore: Update repo URL everywhere (#216) --- CHANGELOG.md | 132 +++++++++--------- Makefile | 4 +- examples/argo/README.md | 4 +- examples/flux/config/flux-config.yaml | 4 +- .../check_entry.yaml | 2 +- .../podtatohead-deployment/check_entry.yaml | 2 +- .../http/taskdefinition.yaml | 2 +- .../upstream/taskdefinition_upstream.yaml | 2 +- functions-runtime/Dockerfile | 2 +- functions-runtime/Makefile | 2 +- functions-runtime/README.md | 6 +- operator/Dockerfile | 2 +- operator/Makefile | 2 +- operator/PROJECT | 20 +-- .../api/v1alpha1/keptnappversion_types.go | 2 +- .../api/v1alpha1/keptnevaluation_types.go | 2 +- operator/api/v1alpha1/keptntask_types.go | 2 +- .../v1alpha1/keptnworkloadinstance_types.go | 2 +- operator/api/v1alpha1/semconv/semconv.go | 4 +- operator/config/manager/manager.yaml | 2 +- .../taskdefinition_function_upstream.yaml | 2 +- ...efinition_function_upstream_scheduler.yaml | 2 +- ...askdefinition_function_upstream_slack.yaml | 2 +- operator/controllers/keptnapp/controller.go | 4 +- .../controllers/keptnappversion/controller.go | 6 +- .../reconcile_prepostdeployment.go | 6 +- .../reconcile_prepostevaluation.go | 6 +- .../reconcile_workloadsstate.go | 4 +- .../controllers/keptnevaluation/controller.go | 6 +- operator/controllers/keptntask/controller.go | 6 +- .../controllers/keptntask/function_utils.go | 4 +- operator/controllers/keptntask/job_utils.go | 4 +- operator/controllers/keptntask/task_utils.go | 2 +- .../keptntaskdefinition/controller.go | 2 +- .../keptntaskdefinition/reconcile_function.go | 2 +- .../controllers/keptnworkload/controller.go | 4 +- .../keptnworkloadinstance/controller.go | 6 +- .../keptnworkloadinstance/controller_test.go | 2 +- .../reconcile_deploymentstate.go | 4 +- .../reconcile_prepostdeployment.go | 6 +- .../reconcile_prepostevaluation.go | 6 +- operator/controllers/suite_test.go | 2 +- operator/go.mod | 2 +- operator/main.go | 20 +-- operator/webhooks/pod_mutating_webhook.go | 6 +- scheduler/Dockerfile | 2 +- scheduler/Makefile | 4 +- scheduler/cmd/scheduler/main.go | 2 +- scheduler/go.mod | 4 +- scheduler/pkg/klcpermit/workflow_manager.go | 4 +- 50 files changed, 166 insertions(+), 166 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd7794b491..2d778bafa5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## [0.3.0](https://github.com/keptn-sandbox/lifecycle-controller/compare/v0.2.0...v0.3.0) (2022-10-20) +## [0.3.0](https://github.com/keptn/lifecycle-controller/compare/v0.2.0...v0.3.0) (2022-10-20) ### ⚠ BREAKING CHANGES @@ -11,117 +11,117 @@ ### Features -* Namespace keptn-lifecycle-controller-system should never call webhook ([#192](https://github.com/keptn-sandbox/lifecycle-controller/issues/192)) ([913a9ff](https://github.com/keptn-sandbox/lifecycle-controller/commit/913a9ffd62f93aa7831b35e29853afff6213a0c9)) -* **operator:** add fallback behavior when no keptn annotations are set ([#171](https://github.com/keptn-sandbox/lifecycle-controller/issues/171)) ([b6cc674](https://github.com/keptn-sandbox/lifecycle-controller/commit/b6cc674adb787615fc79dbbc5b10668c367e4736)) -* **operator:** Add KeptnApplication controller ([#137](https://github.com/keptn-sandbox/lifecycle-controller/issues/137)) ([271f5a8](https://github.com/keptn-sandbox/lifecycle-controller/commit/271f5a830f216c9f827457d8a391c25d56aed2e3)) -* **operator:** Added minimal context information ([#170](https://github.com/keptn-sandbox/lifecycle-controller/issues/170)) ([eebe420](https://github.com/keptn-sandbox/lifecycle-controller/commit/eebe4200aac74a7c2cbc73720d1d9ac6a0c1fc72)) -* **operator:** Allow pre- and post-deployment tasks as labels or annotations ([#181](https://github.com/keptn-sandbox/lifecycle-controller/issues/181)) ([4241fe7](https://github.com/keptn-sandbox/lifecycle-controller/commit/4241fe7cfab91aa6d38309eacf5712436a6e8327)) -* **operator:** Bootstrap evaluation CRD from app ([#184](https://github.com/keptn-sandbox/lifecycle-controller/issues/184)) ([74c3dbc](https://github.com/keptn-sandbox/lifecycle-controller/commit/74c3dbc7b6d78d8ca7eafbac50abb8c3473701eb)) -* **operator:** Bootstrap evaluation CRD from WorkloadInstance ([#188](https://github.com/keptn-sandbox/lifecycle-controller/issues/188)) ([95e206b](https://github.com/keptn-sandbox/lifecycle-controller/commit/95e206b4165b0277f5acbc67fc78a8e28f06741b)) -* **operator:** Bootstrap KeptnEvaluationProvider and KeptnEvaluation Definition CRDs ([#165](https://github.com/keptn-sandbox/lifecycle-controller/issues/165)) ([03d2346](https://github.com/keptn-sandbox/lifecycle-controller/commit/03d234610fd8ef9f21e756450c7f503cb236f302)) -* **operator:** Fix phase naming ([#197](https://github.com/keptn-sandbox/lifecycle-controller/issues/197)) ([3739127](https://github.com/keptn-sandbox/lifecycle-controller/commit/3739127d2794d75c489a6af04acf57b82920ca46)) -* **operator:** Introduce KeptnEvaluation Controller + CRD ([#168](https://github.com/keptn-sandbox/lifecycle-controller/issues/168)) ([1ce044a](https://github.com/keptn-sandbox/lifecycle-controller/commit/1ce044a3470f815597d725d424a5491f828f2c4c)) -* **operator:** Introduce Prometheus evaluation ([#183](https://github.com/keptn-sandbox/lifecycle-controller/issues/183)) ([c2ab773](https://github.com/keptn-sandbox/lifecycle-controller/commit/c2ab7733291928eaea5c38287c63e45d12754ba1)) -* **operator:** namespace should be annotated when the lifecycle controller is used ([#178](https://github.com/keptn-sandbox/lifecycle-controller/issues/178)) ([fa8b875](https://github.com/keptn-sandbox/lifecycle-controller/commit/fa8b8758ebb5a29064f255a66d9066a863bf0944)) +* Namespace keptn-lifecycle-controller-system should never call webhook ([#192](https://github.com/keptn/lifecycle-controller/issues/192)) ([913a9ff](https://github.com/keptn/lifecycle-controller/commit/913a9ffd62f93aa7831b35e29853afff6213a0c9)) +* **operator:** add fallback behavior when no keptn annotations are set ([#171](https://github.com/keptn/lifecycle-controller/issues/171)) ([b6cc674](https://github.com/keptn/lifecycle-controller/commit/b6cc674adb787615fc79dbbc5b10668c367e4736)) +* **operator:** Add KeptnApplication controller ([#137](https://github.com/keptn/lifecycle-controller/issues/137)) ([271f5a8](https://github.com/keptn/lifecycle-controller/commit/271f5a830f216c9f827457d8a391c25d56aed2e3)) +* **operator:** Added minimal context information ([#170](https://github.com/keptn/lifecycle-controller/issues/170)) ([eebe420](https://github.com/keptn/lifecycle-controller/commit/eebe4200aac74a7c2cbc73720d1d9ac6a0c1fc72)) +* **operator:** Allow pre- and post-deployment tasks as labels or annotations ([#181](https://github.com/keptn/lifecycle-controller/issues/181)) ([4241fe7](https://github.com/keptn/lifecycle-controller/commit/4241fe7cfab91aa6d38309eacf5712436a6e8327)) +* **operator:** Bootstrap evaluation CRD from app ([#184](https://github.com/keptn/lifecycle-controller/issues/184)) ([74c3dbc](https://github.com/keptn/lifecycle-controller/commit/74c3dbc7b6d78d8ca7eafbac50abb8c3473701eb)) +* **operator:** Bootstrap evaluation CRD from WorkloadInstance ([#188](https://github.com/keptn/lifecycle-controller/issues/188)) ([95e206b](https://github.com/keptn/lifecycle-controller/commit/95e206b4165b0277f5acbc67fc78a8e28f06741b)) +* **operator:** Bootstrap KeptnEvaluationProvider and KeptnEvaluation Definition CRDs ([#165](https://github.com/keptn/lifecycle-controller/issues/165)) ([03d2346](https://github.com/keptn/lifecycle-controller/commit/03d234610fd8ef9f21e756450c7f503cb236f302)) +* **operator:** Fix phase naming ([#197](https://github.com/keptn/lifecycle-controller/issues/197)) ([3739127](https://github.com/keptn/lifecycle-controller/commit/3739127d2794d75c489a6af04acf57b82920ca46)) +* **operator:** Introduce KeptnEvaluation Controller + CRD ([#168](https://github.com/keptn/lifecycle-controller/issues/168)) ([1ce044a](https://github.com/keptn/lifecycle-controller/commit/1ce044a3470f815597d725d424a5491f828f2c4c)) +* **operator:** Introduce Prometheus evaluation ([#183](https://github.com/keptn/lifecycle-controller/issues/183)) ([c2ab773](https://github.com/keptn/lifecycle-controller/commit/c2ab7733291928eaea5c38287c63e45d12754ba1)) +* **operator:** namespace should be annotated when the lifecycle controller is used ([#178](https://github.com/keptn/lifecycle-controller/issues/178)) ([fa8b875](https://github.com/keptn/lifecycle-controller/commit/fa8b8758ebb5a29064f255a66d9066a863bf0944)) ### Docs -* Add documentation for OTel collector as pre-requisite ([#185](https://github.com/keptn-sandbox/lifecycle-controller/issues/185)) ([bc3900c](https://github.com/keptn-sandbox/lifecycle-controller/commit/bc3900ca64f6c7a0ef22ab94a9665aac17a83372)) -* Add example for ArgoCD ([#179](https://github.com/keptn-sandbox/lifecycle-controller/issues/179)) ([daf622d](https://github.com/keptn-sandbox/lifecycle-controller/commit/daf622d47068f70539eb5819bc81dfe72e1b105c)) -* Add flux example ([#187](https://github.com/keptn-sandbox/lifecycle-controller/issues/187)) ([02cceb3](https://github.com/keptn-sandbox/lifecycle-controller/commit/02cceb37d64c52a12d0779f015cf488b4ad3729f)) -* Improve installation steps ([#154](https://github.com/keptn-sandbox/lifecycle-controller/issues/154)) ([d183e4f](https://github.com/keptn-sandbox/lifecycle-controller/commit/d183e4f6b3102e426b9e29d0648cdf0c4c7cc19e)) +* Add documentation for OTel collector as pre-requisite ([#185](https://github.com/keptn/lifecycle-controller/issues/185)) ([bc3900c](https://github.com/keptn/lifecycle-controller/commit/bc3900ca64f6c7a0ef22ab94a9665aac17a83372)) +* Add example for ArgoCD ([#179](https://github.com/keptn/lifecycle-controller/issues/179)) ([daf622d](https://github.com/keptn/lifecycle-controller/commit/daf622d47068f70539eb5819bc81dfe72e1b105c)) +* Add flux example ([#187](https://github.com/keptn/lifecycle-controller/issues/187)) ([02cceb3](https://github.com/keptn/lifecycle-controller/commit/02cceb37d64c52a12d0779f015cf488b4ad3729f)) +* Improve installation steps ([#154](https://github.com/keptn/lifecycle-controller/issues/154)) ([d183e4f](https://github.com/keptn/lifecycle-controller/commit/d183e4f6b3102e426b9e29d0648cdf0c4c7cc19e)) ### Other -* Add Evaluation instructions ([#190](https://github.com/keptn-sandbox/lifecycle-controller/issues/190)) ([6717b89](https://github.com/keptn-sandbox/lifecycle-controller/commit/6717b8931496be4235c3945390be53633ccb9e43)) -* Add example Grafana dashboard to observability example ([#199](https://github.com/keptn-sandbox/lifecycle-controller/issues/199)) ([9c20600](https://github.com/keptn-sandbox/lifecycle-controller/commit/9c20600f8a5dd3149f040cf2253cd4b787cc08d3)) -* Updated Prometheus Network policy for granting access from lifecycle controller namespace ([#191](https://github.com/keptn-sandbox/lifecycle-controller/issues/191)) ([bd77527](https://github.com/keptn-sandbox/lifecycle-controller/commit/bd775276ad1324278c4bc3c82a9c0352d02bcece)) +* Add Evaluation instructions ([#190](https://github.com/keptn/lifecycle-controller/issues/190)) ([6717b89](https://github.com/keptn/lifecycle-controller/commit/6717b8931496be4235c3945390be53633ccb9e43)) +* Add example Grafana dashboard to observability example ([#199](https://github.com/keptn/lifecycle-controller/issues/199)) ([9c20600](https://github.com/keptn/lifecycle-controller/commit/9c20600f8a5dd3149f040cf2253cd4b787cc08d3)) +* Updated Prometheus Network policy for granting access from lifecycle controller namespace ([#191](https://github.com/keptn/lifecycle-controller/issues/191)) ([bd77527](https://github.com/keptn/lifecycle-controller/commit/bd775276ad1324278c4bc3c82a9c0352d02bcece)) -## [0.2.0](https://github.com/keptn-sandbox/lifecycle-controller/compare/v0.1.0...v0.2.0) (2022-10-12) +## [0.2.0](https://github.com/keptn/lifecycle-controller/compare/v0.1.0...v0.2.0) (2022-10-12) ### Features -* Added tutorial for setting up observability example ([#145](https://github.com/keptn-sandbox/lifecycle-controller/issues/145)) ([28f5a9c](https://github.com/keptn-sandbox/lifecycle-controller/commit/28f5a9c24d031694e2066318bc85ae6e79dfd095)) -* **main:** Make LFC development environment installable with one command ([#138](https://github.com/keptn-sandbox/lifecycle-controller/issues/138)) ([832ca37](https://github.com/keptn-sandbox/lifecycle-controller/commit/832ca37d5a19297a63e17a8d367c126af37275c4)) -* **operator:** Add commit hash, buildtime, buildversion to OTel resource attributes ([#121](https://github.com/keptn-sandbox/lifecycle-controller/issues/121)) ([5a2ef61](https://github.com/keptn-sandbox/lifecycle-controller/commit/5a2ef61b965472cfe850672d04b4361f5d48ca0d)) -* **operator:** Add Spans for handling webhook requests and inject TraceContext ([#115](https://github.com/keptn-sandbox/lifecycle-controller/issues/115)) ([812f2c5](https://github.com/keptn-sandbox/lifecycle-controller/commit/812f2c5d49314617cb9c7532262e15edecd9f078)) -* **operator:** Add support for OTel collector ([#139](https://github.com/keptn-sandbox/lifecycle-controller/issues/139)) ([ac3f0d2](https://github.com/keptn-sandbox/lifecycle-controller/commit/ac3f0d222f43abff7f35f1eb8de5ec80ff7dd8dc)) -* **operator:** Added metrics ([#55](https://github.com/keptn-sandbox/lifecycle-controller/issues/55)) ([f8a3cee](https://github.com/keptn-sandbox/lifecycle-controller/commit/f8a3ceea6d1628750e7c3a7c9cd3372642bd0611)) -* **operator:** Introduce OTel tracing for Task controller ([#128](https://github.com/keptn-sandbox/lifecycle-controller/issues/128)) ([0baf7a9](https://github.com/keptn-sandbox/lifecycle-controller/commit/0baf7a9d8058877247bc264eb6fdb645b0a77a60)) -* **operator:** Introduce OTel tracing for Workload controller ([#125](https://github.com/keptn-sandbox/lifecycle-controller/issues/125)) ([bc03709](https://github.com/keptn-sandbox/lifecycle-controller/commit/bc03709b744d61ad966b5fba9f70dbeaffa10119)) -* **operator:** Introduce OTel tracing for WorkloadInstance controller ([#131](https://github.com/keptn-sandbox/lifecycle-controller/issues/131)) ([a195614](https://github.com/keptn-sandbox/lifecycle-controller/commit/a1956141fe80e5b1afd79fb33198313e1dbff7fa)) -* **scheduler:** Add OTel Resource Attributes ([#147](https://github.com/keptn-sandbox/lifecycle-controller/issues/147)) ([b952156](https://github.com/keptn-sandbox/lifecycle-controller/commit/b9521568e95e7855ee4fef5d55559376e2d398d9)) -* **scheduler:** Add support for OTel collector ([#146](https://github.com/keptn-sandbox/lifecycle-controller/issues/146)) ([9fd210d](https://github.com/keptn-sandbox/lifecycle-controller/commit/9fd210d0355e5d17316f5daa8a8e289a03755d46)) -* **scheduler:** Add tracing support ([#129](https://github.com/keptn-sandbox/lifecycle-controller/issues/129)) ([60651d1](https://github.com/keptn-sandbox/lifecycle-controller/commit/60651d15c78f9e0aa786d4dd4836c9ae828b14f3)) -* **scheduler:** Background check for pod status in permit plugin ([#124](https://github.com/keptn-sandbox/lifecycle-controller/issues/124)) ([97ceef6](https://github.com/keptn-sandbox/lifecycle-controller/commit/97ceef6938603e315c4e1c8d2bb697aabc3dd7f8)) -* **scheduler:** Disable gRPC logs when creating OTLP exporter ([#151](https://github.com/keptn-sandbox/lifecycle-controller/issues/151)) ([d0f69b9](https://github.com/keptn-sandbox/lifecycle-controller/commit/d0f69b9509543a5a11f22e8940a71018509ba048)) +* Added tutorial for setting up observability example ([#145](https://github.com/keptn/lifecycle-controller/issues/145)) ([28f5a9c](https://github.com/keptn/lifecycle-controller/commit/28f5a9c24d031694e2066318bc85ae6e79dfd095)) +* **main:** Make LFC development environment installable with one command ([#138](https://github.com/keptn/lifecycle-controller/issues/138)) ([832ca37](https://github.com/keptn/lifecycle-controller/commit/832ca37d5a19297a63e17a8d367c126af37275c4)) +* **operator:** Add commit hash, buildtime, buildversion to OTel resource attributes ([#121](https://github.com/keptn/lifecycle-controller/issues/121)) ([5a2ef61](https://github.com/keptn/lifecycle-controller/commit/5a2ef61b965472cfe850672d04b4361f5d48ca0d)) +* **operator:** Add Spans for handling webhook requests and inject TraceContext ([#115](https://github.com/keptn/lifecycle-controller/issues/115)) ([812f2c5](https://github.com/keptn/lifecycle-controller/commit/812f2c5d49314617cb9c7532262e15edecd9f078)) +* **operator:** Add support for OTel collector ([#139](https://github.com/keptn/lifecycle-controller/issues/139)) ([ac3f0d2](https://github.com/keptn/lifecycle-controller/commit/ac3f0d222f43abff7f35f1eb8de5ec80ff7dd8dc)) +* **operator:** Added metrics ([#55](https://github.com/keptn/lifecycle-controller/issues/55)) ([f8a3cee](https://github.com/keptn/lifecycle-controller/commit/f8a3ceea6d1628750e7c3a7c9cd3372642bd0611)) +* **operator:** Introduce OTel tracing for Task controller ([#128](https://github.com/keptn/lifecycle-controller/issues/128)) ([0baf7a9](https://github.com/keptn/lifecycle-controller/commit/0baf7a9d8058877247bc264eb6fdb645b0a77a60)) +* **operator:** Introduce OTel tracing for Workload controller ([#125](https://github.com/keptn/lifecycle-controller/issues/125)) ([bc03709](https://github.com/keptn/lifecycle-controller/commit/bc03709b744d61ad966b5fba9f70dbeaffa10119)) +* **operator:** Introduce OTel tracing for WorkloadInstance controller ([#131](https://github.com/keptn/lifecycle-controller/issues/131)) ([a195614](https://github.com/keptn/lifecycle-controller/commit/a1956141fe80e5b1afd79fb33198313e1dbff7fa)) +* **scheduler:** Add OTel Resource Attributes ([#147](https://github.com/keptn/lifecycle-controller/issues/147)) ([b952156](https://github.com/keptn/lifecycle-controller/commit/b9521568e95e7855ee4fef5d55559376e2d398d9)) +* **scheduler:** Add support for OTel collector ([#146](https://github.com/keptn/lifecycle-controller/issues/146)) ([9fd210d](https://github.com/keptn/lifecycle-controller/commit/9fd210d0355e5d17316f5daa8a8e289a03755d46)) +* **scheduler:** Add tracing support ([#129](https://github.com/keptn/lifecycle-controller/issues/129)) ([60651d1](https://github.com/keptn/lifecycle-controller/commit/60651d15c78f9e0aa786d4dd4836c9ae828b14f3)) +* **scheduler:** Background check for pod status in permit plugin ([#124](https://github.com/keptn/lifecycle-controller/issues/124)) ([97ceef6](https://github.com/keptn/lifecycle-controller/commit/97ceef6938603e315c4e1c8d2bb697aabc3dd7f8)) +* **scheduler:** Disable gRPC logs when creating OTLP exporter ([#151](https://github.com/keptn/lifecycle-controller/issues/151)) ([d0f69b9](https://github.com/keptn/lifecycle-controller/commit/d0f69b9509543a5a11f22e8940a71018509ba048)) ### Bug Fixes -* **scheduler:** Create new context when starting background routine for pod checks ([#148](https://github.com/keptn-sandbox/lifecycle-controller/issues/148)) ([543ca87](https://github.com/keptn-sandbox/lifecycle-controller/commit/543ca876b27d90cb906ddb2643112a62dc923f56)) -* **scheduler:** Ignoring OTel error logs ([#150](https://github.com/keptn-sandbox/lifecycle-controller/issues/150)) ([0be89a5](https://github.com/keptn-sandbox/lifecycle-controller/commit/0be89a56445a0356275f040dedad8fc8716a0fdd)) +* **scheduler:** Create new context when starting background routine for pod checks ([#148](https://github.com/keptn/lifecycle-controller/issues/148)) ([543ca87](https://github.com/keptn/lifecycle-controller/commit/543ca876b27d90cb906ddb2643112a62dc923f56)) +* **scheduler:** Ignoring OTel error logs ([#150](https://github.com/keptn/lifecycle-controller/issues/150)) ([0be89a5](https://github.com/keptn/lifecycle-controller/commit/0be89a56445a0356275f040dedad8fc8716a0fdd)) ### Docs -* Add proper version badge in readme ([#114](https://github.com/keptn-sandbox/lifecycle-controller/issues/114)) ([e4add2d](https://github.com/keptn-sandbox/lifecycle-controller/commit/e4add2de2340f160fe30bd0cd6831107339b175e)) -* Improve podtato example with HTTP service lookup ([#113](https://github.com/keptn-sandbox/lifecycle-controller/issues/113)) ([81b1236](https://github.com/keptn-sandbox/lifecycle-controller/commit/81b1236dcff7bd37afd0e39f11638fe01406c7c4)) -* Update manifest name in readme ([#111](https://github.com/keptn-sandbox/lifecycle-controller/issues/111)) ([e51dbbc](https://github.com/keptn-sandbox/lifecycle-controller/commit/e51dbbc0198f734fb3905b280bc1ff2e0b24d39e)) +* Add proper version badge in readme ([#114](https://github.com/keptn/lifecycle-controller/issues/114)) ([e4add2d](https://github.com/keptn/lifecycle-controller/commit/e4add2de2340f160fe30bd0cd6831107339b175e)) +* Improve podtato example with HTTP service lookup ([#113](https://github.com/keptn/lifecycle-controller/issues/113)) ([81b1236](https://github.com/keptn/lifecycle-controller/commit/81b1236dcff7bd37afd0e39f11638fe01406c7c4)) +* Update manifest name in readme ([#111](https://github.com/keptn/lifecycle-controller/issues/111)) ([e51dbbc](https://github.com/keptn/lifecycle-controller/commit/e51dbbc0198f734fb3905b280bc1ff2e0b24d39e)) ### Other -* Updated scheduler readme and developer instructions ([#123](https://github.com/keptn-sandbox/lifecycle-controller/issues/123)) ([9bd5d14](https://github.com/keptn-sandbox/lifecycle-controller/commit/9bd5d1461cdeeca851b6ccb78ee7e6ff0b500c1c)) +* Updated scheduler readme and developer instructions ([#123](https://github.com/keptn/lifecycle-controller/issues/123)) ([9bd5d14](https://github.com/keptn/lifecycle-controller/commit/9bd5d1461cdeeca851b6ccb78ee7e6ff0b500c1c)) ### Build -* Prepare release ([#149](https://github.com/keptn-sandbox/lifecycle-controller/issues/149)) ([5be4504](https://github.com/keptn-sandbox/lifecycle-controller/commit/5be4504e365b1c89ffc3069871a3f0fc0ecc7482)) +* Prepare release ([#149](https://github.com/keptn/lifecycle-controller/issues/149)) ([5be4504](https://github.com/keptn/lifecycle-controller/commit/5be4504e365b1c89ffc3069871a3f0fc0ecc7482)) ## 0.1.0 (2022-10-04) ### Features -* Add scheduler with annotations ([#31](https://github.com/keptn-sandbox/lifecycle-controller/issues/31)) ([9e29019](https://github.com/keptn-sandbox/lifecycle-controller/commit/9e29019c098fd4f1d5e36500bd2c7ef410421aa8)) -* Bootstrap Service CR and controller ([#21](https://github.com/keptn-sandbox/lifecycle-controller/issues/21)) ([c714ecc](https://github.com/keptn-sandbox/lifecycle-controller/commit/c714eccc3b9c4d1309036fc9d193da3154b4cac5)) -* First draft of a scheduler ([#19](https://github.com/keptn-sandbox/lifecycle-controller/issues/19)) ([1884c86](https://github.com/keptn-sandbox/lifecycle-controller/commit/1884c8678a681ed322a0ef2ea07fad3e24e01237)) -* first podtatohead sample deployment manifests ([#45](https://github.com/keptn-sandbox/lifecycle-controller/issues/45)) ([3e92d27](https://github.com/keptn-sandbox/lifecycle-controller/commit/3e92d277ebf1a9063ebcf80f05ebe62958e45cbb)) -* First Version of Function Execution ([#35](https://github.com/keptn-sandbox/lifecycle-controller/issues/35)) ([f6badfd](https://github.com/keptn-sandbox/lifecycle-controller/commit/f6badfd19f9f0b15c04364be7b03f524c920a015)) -* initial version of function runtime ([#26](https://github.com/keptn-sandbox/lifecycle-controller/issues/26)) ([c8800ee](https://github.com/keptn-sandbox/lifecycle-controller/commit/c8800ee352b5d0d5eccd7338cd4fa6a3ae7d2efa)) -* Inject keptn-scheduler when resource contains Keptn annotations ([#18](https://github.com/keptn-sandbox/lifecycle-controller/issues/18)) ([4530e86](https://github.com/keptn-sandbox/lifecycle-controller/commit/4530e8602beb4fc923b767eb586e44752f725400)) -* **lfc-scheduler:** Move from Helm to Kustomize ([#53](https://github.com/keptn-sandbox/lifecycle-controller/issues/53)) ([d7ba5f3](https://github.com/keptn-sandbox/lifecycle-controller/commit/d7ba5f35f1b32451f833d9fd53079b4162837bde)) -* sample function for deno runtime ([#27](https://github.com/keptn-sandbox/lifecycle-controller/issues/27)) ([2501e46](https://github.com/keptn-sandbox/lifecycle-controller/commit/2501e46a18dfc4ab436669fa7c42c570abad5a52)) -* substitute event task ([#43](https://github.com/keptn-sandbox/lifecycle-controller/issues/43)) ([3644a7d](https://github.com/keptn-sandbox/lifecycle-controller/commit/3644a7d9a0d4a565a9d857348a63ed91d8cb8102)) -* Switch to distroless-base image ([#46](https://github.com/keptn-sandbox/lifecycle-controller/issues/46)) ([0a735b2](https://github.com/keptn-sandbox/lifecycle-controller/commit/0a735b2ca22a02ca42faf7d091741d39e0f5a547)) -* Webhook creates Service, Service creates ServiceRun, ServiceRun creates Event ([#30](https://github.com/keptn-sandbox/lifecycle-controller/issues/30)) ([5ae58c3](https://github.com/keptn-sandbox/lifecycle-controller/commit/5ae58c33abe965e79bb405e74c0f308f1220d4ee)) +* Add scheduler with annotations ([#31](https://github.com/keptn/lifecycle-controller/issues/31)) ([9e29019](https://github.com/keptn/lifecycle-controller/commit/9e29019c098fd4f1d5e36500bd2c7ef410421aa8)) +* Bootstrap Service CR and controller ([#21](https://github.com/keptn/lifecycle-controller/issues/21)) ([c714ecc](https://github.com/keptn/lifecycle-controller/commit/c714eccc3b9c4d1309036fc9d193da3154b4cac5)) +* First draft of a scheduler ([#19](https://github.com/keptn/lifecycle-controller/issues/19)) ([1884c86](https://github.com/keptn/lifecycle-controller/commit/1884c8678a681ed322a0ef2ea07fad3e24e01237)) +* first podtatohead sample deployment manifests ([#45](https://github.com/keptn/lifecycle-controller/issues/45)) ([3e92d27](https://github.com/keptn/lifecycle-controller/commit/3e92d277ebf1a9063ebcf80f05ebe62958e45cbb)) +* First Version of Function Execution ([#35](https://github.com/keptn/lifecycle-controller/issues/35)) ([f6badfd](https://github.com/keptn/lifecycle-controller/commit/f6badfd19f9f0b15c04364be7b03f524c920a015)) +* initial version of function runtime ([#26](https://github.com/keptn/lifecycle-controller/issues/26)) ([c8800ee](https://github.com/keptn/lifecycle-controller/commit/c8800ee352b5d0d5eccd7338cd4fa6a3ae7d2efa)) +* Inject keptn-scheduler when resource contains Keptn annotations ([#18](https://github.com/keptn/lifecycle-controller/issues/18)) ([4530e86](https://github.com/keptn/lifecycle-controller/commit/4530e8602beb4fc923b767eb586e44752f725400)) +* **lfc-scheduler:** Move from Helm to Kustomize ([#53](https://github.com/keptn/lifecycle-controller/issues/53)) ([d7ba5f3](https://github.com/keptn/lifecycle-controller/commit/d7ba5f35f1b32451f833d9fd53079b4162837bde)) +* sample function for deno runtime ([#27](https://github.com/keptn/lifecycle-controller/issues/27)) ([2501e46](https://github.com/keptn/lifecycle-controller/commit/2501e46a18dfc4ab436669fa7c42c570abad5a52)) +* substitute event task ([#43](https://github.com/keptn/lifecycle-controller/issues/43)) ([3644a7d](https://github.com/keptn/lifecycle-controller/commit/3644a7d9a0d4a565a9d857348a63ed91d8cb8102)) +* Switch to distroless-base image ([#46](https://github.com/keptn/lifecycle-controller/issues/46)) ([0a735b2](https://github.com/keptn/lifecycle-controller/commit/0a735b2ca22a02ca42faf7d091741d39e0f5a547)) +* Webhook creates Service, Service creates ServiceRun, ServiceRun creates Event ([#30](https://github.com/keptn/lifecycle-controller/issues/30)) ([5ae58c3](https://github.com/keptn/lifecycle-controller/commit/5ae58c33abe965e79bb405e74c0f308f1220d4ee)) ### Bug Fixes -* Added namespace to task definition for podtato head example ([#72](https://github.com/keptn-sandbox/lifecycle-controller/issues/72)) ([7081f27](https://github.com/keptn-sandbox/lifecycle-controller/commit/7081f2772aee5abec840a58c7ab700603e84cf52)) -* Fix CODEOWNERS syntax ([0be5197](https://github.com/keptn-sandbox/lifecycle-controller/commit/0be5197c19ea3066d28fe8e97f274efff21f66ff)) -* fixed namespace in scheduler kustomization ([#63](https://github.com/keptn-sandbox/lifecycle-controller/issues/63)) ([237bf4f](https://github.com/keptn-sandbox/lifecycle-controller/commit/237bf4f480161f48aa0c4b5f2afbff433447d2a8)) -* Missed error ([#76](https://github.com/keptn-sandbox/lifecycle-controller/issues/76)) ([a59aa15](https://github.com/keptn-sandbox/lifecycle-controller/commit/a59aa1552795bce15e39195af235fd42d1448e61)) -* **operator:** Get desired amount of replicas from upper level resource ([#89](https://github.com/keptn-sandbox/lifecycle-controller/issues/89)) ([6767832](https://github.com/keptn-sandbox/lifecycle-controller/commit/67678327c2531c25ea0cdb6f1b805365ae454719)) -* **operator:** Update workload if spec changes ([#90](https://github.com/keptn-sandbox/lifecycle-controller/issues/90)) ([ec01ad2](https://github.com/keptn-sandbox/lifecycle-controller/commit/ec01ad2ccd04f0c4e6f9ba47e01c5bada128aa3b)) -* **operator:** Update workload instance controller, add example ([#102](https://github.com/keptn-sandbox/lifecycle-controller/issues/102)) ([e679c10](https://github.com/keptn-sandbox/lifecycle-controller/commit/e679c1070f0130bd2d6616bf1856956e64dc0bac)) -* query jobs before creating ([#79](https://github.com/keptn-sandbox/lifecycle-controller/issues/79)) ([47f82b8](https://github.com/keptn-sandbox/lifecycle-controller/commit/47f82b891d9d20ade2928faae307009e5c96ae22)) -* scheduler config plugin configuration ([#68](https://github.com/keptn-sandbox/lifecycle-controller/issues/68)) ([4c4e3c6](https://github.com/keptn-sandbox/lifecycle-controller/commit/4c4e3c60a0e11267dc69ea7d8470555e3ee4f91e)) +* Added namespace to task definition for podtato head example ([#72](https://github.com/keptn/lifecycle-controller/issues/72)) ([7081f27](https://github.com/keptn/lifecycle-controller/commit/7081f2772aee5abec840a58c7ab700603e84cf52)) +* Fix CODEOWNERS syntax ([0be5197](https://github.com/keptn/lifecycle-controller/commit/0be5197c19ea3066d28fe8e97f274efff21f66ff)) +* fixed namespace in scheduler kustomization ([#63](https://github.com/keptn/lifecycle-controller/issues/63)) ([237bf4f](https://github.com/keptn/lifecycle-controller/commit/237bf4f480161f48aa0c4b5f2afbff433447d2a8)) +* Missed error ([#76](https://github.com/keptn/lifecycle-controller/issues/76)) ([a59aa15](https://github.com/keptn/lifecycle-controller/commit/a59aa1552795bce15e39195af235fd42d1448e61)) +* **operator:** Get desired amount of replicas from upper level resource ([#89](https://github.com/keptn/lifecycle-controller/issues/89)) ([6767832](https://github.com/keptn/lifecycle-controller/commit/67678327c2531c25ea0cdb6f1b805365ae454719)) +* **operator:** Update workload if spec changes ([#90](https://github.com/keptn/lifecycle-controller/issues/90)) ([ec01ad2](https://github.com/keptn/lifecycle-controller/commit/ec01ad2ccd04f0c4e6f9ba47e01c5bada128aa3b)) +* **operator:** Update workload instance controller, add example ([#102](https://github.com/keptn/lifecycle-controller/issues/102)) ([e679c10](https://github.com/keptn/lifecycle-controller/commit/e679c1070f0130bd2d6616bf1856956e64dc0bac)) +* query jobs before creating ([#79](https://github.com/keptn/lifecycle-controller/issues/79)) ([47f82b8](https://github.com/keptn/lifecycle-controller/commit/47f82b891d9d20ade2928faae307009e5c96ae22)) +* scheduler config plugin configuration ([#68](https://github.com/keptn/lifecycle-controller/issues/68)) ([4c4e3c6](https://github.com/keptn/lifecycle-controller/commit/4c4e3c60a0e11267dc69ea7d8470555e3ee4f91e)) ### Miscellaneous Chores -* release 0.1.0 ([4c46a42](https://github.com/keptn-sandbox/lifecycle-controller/commit/4c46a4297c540b9da30c5a373624d4b8e8a88231)) -* release 0.1.0 ([afa8493](https://github.com/keptn-sandbox/lifecycle-controller/commit/afa849324fa422352ed61faa7f0dc75d74c3c25d)) +* release 0.1.0 ([4c46a42](https://github.com/keptn/lifecycle-controller/commit/4c46a4297c540b9da30c5a373624d4b8e8a88231)) +* release 0.1.0 ([afa8493](https://github.com/keptn/lifecycle-controller/commit/afa849324fa422352ed61faa7f0dc75d74c3c25d)) ### Continuous Integration -* Prepare release ([#110](https://github.com/keptn-sandbox/lifecycle-controller/issues/110)) ([9d7644b](https://github.com/keptn-sandbox/lifecycle-controller/commit/9d7644b718e29bd37da398d89dc8b51997667358)) +* Prepare release ([#110](https://github.com/keptn/lifecycle-controller/issues/110)) ([9d7644b](https://github.com/keptn/lifecycle-controller/commit/9d7644b718e29bd37da398d89dc8b51997667358)) ## Changelog diff --git a/Makefile b/Makefile index 88cc35394b..b8739f66c5 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ TAG := $(TAG) # RELEASE_REGISTRY is the container registry to push # into. -RELEASE_REGISTRY?=ghcr.io/keptn-sandbox +RELEASE_REGISTRY?=ghcr.io/keptn ARCH?=amd64 .PHONY: cleanup-manifests @@ -34,4 +34,4 @@ deploy-cert-manager: .PHONY: build-deploy-dev-environment build-deploy-dev-environment: build-deploy-operator build-deploy-scheduler - kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/$(CERT_MANAGER_VERSION)/cert-manager.yaml \ No newline at end of file + kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/$(CERT_MANAGER_VERSION)/cert-manager.yaml diff --git a/examples/argo/README.md b/examples/argo/README.md index 26a943bddc..631e6f98e5 100644 --- a/examples/argo/README.md +++ b/examples/argo/README.md @@ -11,7 +11,7 @@ In this example, we will show you how to install our sample application *podtato * Watch the progress on your ArgoUI: `http://localhost:8080` ## Prerequisites: -This tutorial assumes, that you already installed the Keptn Lifecycle Controller (see https://github.com/keptn-sandbox/lifecycle-service). Furthermore, you have to install ArgoCD, as in the following their [installation instructions](https://argoproj.github.io/argo-cd/getting_started/). +This tutorial assumes, that you already installed the Keptn Lifecycle Controller (see https://github.com/keptn/lifecycle-service). Furthermore, you have to install ArgoCD, as in the following their [installation instructions](https://argoproj.github.io/argo-cd/getting_started/). ### Install ArgoCD If you don't have an already existing installation of ArgoCD, you can install it using the following commands: @@ -37,7 +37,7 @@ Then you can access the UI using http://localhost:8080. ## Installing the Demo Application To install the demo application, you can use the following command: ```shell -kubectl apply -f https://raw.githubusercontent.com/keptn-sandbox/lifecycle-service/main/examples/argo/config/app.yaml +kubectl apply -f https://raw.githubusercontent.com/keptn/lifecycle-service/main/examples/argo/config/app.yaml ``` You will see that the application will be deployed using ArgoCD. You can watch the progress on the ArgoCD UI and should see the following: diff --git a/examples/flux/config/flux-config.yaml b/examples/flux/config/flux-config.yaml index cd5fd88350..a3d0098b81 100644 --- a/examples/flux/config/flux-config.yaml +++ b/examples/flux/config/flux-config.yaml @@ -6,7 +6,7 @@ metadata: namespace: default spec: interval: 5m - url: https://github.com/keptn-sandbox/lifecycle-controller + url: https://github.com/keptn/lifecycle-controller ref: branch: main ignore: | @@ -27,4 +27,4 @@ spec: prune: true sourceRef: kind: GitRepository - name: lifecycle-controller \ No newline at end of file + name: lifecycle-controller diff --git a/examples/observability/assets/podtatohead-deployment-evaluation/check_entry.yaml b/examples/observability/assets/podtatohead-deployment-evaluation/check_entry.yaml index 958540ec07..992d747a5a 100644 --- a/examples/observability/assets/podtatohead-deployment-evaluation/check_entry.yaml +++ b/examples/observability/assets/podtatohead-deployment-evaluation/check_entry.yaml @@ -6,7 +6,7 @@ metadata: spec: function: httpRef: - url: https://raw.githubusercontent.com/keptn-sandbox/lifecycle-controller/main/functions-runtime/samples/ts/http.ts + url: https://raw.githubusercontent.com/keptn/lifecycle-controller/main/functions-runtime/samples/ts/http.ts parameters: map: url: http://podtato-head-entry.podtato-kubectl.svc.cluster.local:9000 diff --git a/examples/podtatohead-deployment/check_entry.yaml b/examples/podtatohead-deployment/check_entry.yaml index 958540ec07..992d747a5a 100644 --- a/examples/podtatohead-deployment/check_entry.yaml +++ b/examples/podtatohead-deployment/check_entry.yaml @@ -6,7 +6,7 @@ metadata: spec: function: httpRef: - url: https://raw.githubusercontent.com/keptn-sandbox/lifecycle-controller/main/functions-runtime/samples/ts/http.ts + url: https://raw.githubusercontent.com/keptn/lifecycle-controller/main/functions-runtime/samples/ts/http.ts parameters: map: url: http://podtato-head-entry.podtato-kubectl.svc.cluster.local:9000 diff --git a/examples/taskonly-hello-keptn/http/taskdefinition.yaml b/examples/taskonly-hello-keptn/http/taskdefinition.yaml index ed4c3b2ba8..1b97334f98 100644 --- a/examples/taskonly-hello-keptn/http/taskdefinition.yaml +++ b/examples/taskonly-hello-keptn/http/taskdefinition.yaml @@ -5,6 +5,6 @@ metadata: spec: function: httpRef: - url: https://raw.githubusercontent.com/keptn-sandbox/lifecycle-controller/main/examples/taskonly-hello-keptn/http/hello-keptn.ts + url: https://raw.githubusercontent.com/keptn/lifecycle-controller/main/examples/taskonly-hello-keptn/http/hello-keptn.ts diff --git a/examples/taskonly-hello-keptn/upstream/taskdefinition_upstream.yaml b/examples/taskonly-hello-keptn/upstream/taskdefinition_upstream.yaml index 1c89b83180..d38ce3517d 100644 --- a/examples/taskonly-hello-keptn/upstream/taskdefinition_upstream.yaml +++ b/examples/taskonly-hello-keptn/upstream/taskdefinition_upstream.yaml @@ -5,7 +5,7 @@ metadata: spec: function: httpRef: - url: https://raw.githubusercontent.com/keptn-sandbox/lifecycle-controller/main/examples/taskonly-hello-keptn/http/hello-keptn.ts + url: https://raw.githubusercontent.com/keptn/lifecycle-controller/main/examples/taskonly-hello-keptn/http/hello-keptn.ts parameters: map: name: "Parent Developer" diff --git a/functions-runtime/Dockerfile b/functions-runtime/Dockerfile index da3246e5e3..9a922ae039 100644 --- a/functions-runtime/Dockerfile +++ b/functions-runtime/Dockerfile @@ -1,6 +1,6 @@ FROM denoland/deno:1.25.3 -LABEL org.opencontainers.image.source="https://github.com/keptn-sandbox/lifecycle-controller" \ +LABEL org.opencontainers.image.source="https://github.com/keptn/lifecycle-controller" \ org.opencontainers.image.url="https://keptn.sh" \ org.opencontainers.image.title="Keptn Functions Runtime" \ org.opencontainers.image.vendor="Keptn" \ diff --git a/functions-runtime/Makefile b/functions-runtime/Makefile index 76b94f3d06..ecb8b6c0c2 100644 --- a/functions-runtime/Makefile +++ b/functions-runtime/Makefile @@ -1,6 +1,6 @@ # RELEASE_REGISTRY is the container registry to push # into. -RELEASE_REGISTRY?=ghcr.io/keptn-sandbox +RELEASE_REGISTRY?=ghcr.io/keptn RELEASE_VERSION?=$(shell date +%Y%m%d%s)-v0.24.3#$(shell git describe --tags --match "v*") TAG?=latest RELEASE_IMAGE:=functions-runtime:$(TAG) diff --git a/functions-runtime/README.md b/functions-runtime/README.md index 868c90b36d..583a016ac6 100644 --- a/functions-runtime/README.md +++ b/functions-runtime/README.md @@ -9,16 +9,16 @@ docker build -t keptnsandbox/klc-runtime:${VERSION} . ### Docker with function on webserver (function in this repo) ``` -docker run -e SCRIPT=https://raw.githubusercontent.com/keptn-sandbox/lifecycle-controller/main/functions-runtime/samples/ts/hello-world.ts -it keptnsandbox/klc-runtime:${VERSION} +docker run -e SCRIPT=https://raw.githubusercontent.com/keptn/lifecycle-controller/main/functions-runtime/samples/ts/hello-world.ts -it keptnsandbox/klc-runtime:${VERSION} ``` ### Docker with function and external data - scheduler ``` -docker run -e SCRIPT=https://raw.githubusercontent.com/keptn-sandbox/lifecycle-controller/main/functions-runtime/samples/ts/scheduler.ts -e DATA='{ "targetDate":"2025-04-16T06:55:31.820Z" }' -it keptnsandbox/klc-runtime:${VERSION} +docker run -e SCRIPT=https://raw.githubusercontent.com/keptn/lifecycle-controller/main/functions-runtime/samples/ts/scheduler.ts -e DATA='{ "targetDate":"2025-04-16T06:55:31.820Z" }' -it keptnsandbox/klc-runtime:${VERSION} ``` ### Docker with function and external secure data - slack ``` -docker run -e SCRIPT=https://raw.githubusercontent.com/keptn-sandbox/lifecycle-controller/main/functions-runtime/samples/ts/slack.ts -e SECURE_DATA='{ "slack_hook":"hook/parts","text":"this is my test message" }' -it keptnsandbox/klc-runtime:${VERSION} +docker run -e SCRIPT=https://raw.githubusercontent.com/keptn/lifecycle-controller/main/functions-runtime/samples/ts/slack.ts -e SECURE_DATA='{ "slack_hook":"hook/parts","text":"this is my test message" }' -it keptnsandbox/klc-runtime:${VERSION} ``` diff --git a/operator/Dockerfile b/operator/Dockerfile index e423d70e60..d07b397177 100644 --- a/operator/Dockerfile +++ b/operator/Dockerfile @@ -28,7 +28,7 @@ RUN make build.$ARCH HASH=${GIT_HASH} TAG=${RELEASE_VERSION} # Refer to https://github.com/GoogleContainerTools/distroless for more details FROM gcr.io/distroless/base-debian11:nonroot -LABEL org.opencontainers.image.source="https://github.com/keptn-sandbox/lifecycle-controller" \ +LABEL org.opencontainers.image.source="https://github.com/keptn/lifecycle-controller" \ org.opencontainers.image.url="https://keptn.sh" \ org.opencontainers.image.title="Keptn Lifecycle Operator" \ org.opencontainers.image.vendor="Keptn" \ diff --git a/operator/Makefile b/operator/Makefile index f8e1c520fb..bdc05fe5c7 100644 --- a/operator/Makefile +++ b/operator/Makefile @@ -3,7 +3,7 @@ IMG ?= controller:latest # RELEASE_REGISTRY is the container registry to push # into. -RELEASE_REGISTRY?=ghcr.io/keptn-sandbox +RELEASE_REGISTRY?=ghcr.io/keptn RELEASE_TIME=$(shell date +%Y%m%d%s) BUILD_TIME=$(shell date -u "+%F_%T") RELEASE_VERSION?=$(RELEASE_TIME)-v0.24.3#$(shell git describe --tags --match "v*") diff --git a/operator/PROJECT b/operator/PROJECT index 223a018e56..73d621245f 100644 --- a/operator/PROJECT +++ b/operator/PROJECT @@ -2,7 +2,7 @@ domain: keptn.sh layout: - go.kubebuilder.io/v3 projectName: keptn-lifecycle-controller -repo: github.com/keptn-sandbox/lifecycle-controller/operator +repo: github.com/keptn/lifecycle-controller/operator resources: - api: crdVersion: v1 @@ -11,7 +11,7 @@ resources: domain: keptn.sh group: lifecycle kind: KeptnTaskDefinition - path: github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1 + path: github.com/keptn/lifecycle-controller/operator/api/v1alpha1 version: v1alpha1 - api: crdVersion: v1 @@ -20,7 +20,7 @@ resources: domain: keptn.sh group: lifecycle kind: KeptnTask - path: github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1 + path: github.com/keptn/lifecycle-controller/operator/api/v1alpha1 version: v1alpha1 - api: crdVersion: v1 @@ -29,7 +29,7 @@ resources: domain: keptn.sh group: lifecycle kind: KeptnApp - path: github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1 + path: github.com/keptn/lifecycle-controller/operator/api/v1alpha1 version: v1alpha1 - api: crdVersion: v1 @@ -38,7 +38,7 @@ resources: domain: keptn.sh group: lifecycle kind: KeptnWorkload - path: github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1 + path: github.com/keptn/lifecycle-controller/operator/api/v1alpha1 version: v1alpha1 - api: crdVersion: v1 @@ -47,7 +47,7 @@ resources: domain: keptn.sh group: lifecycle kind: KeptnWorkloadInstance - path: github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1 + path: github.com/keptn/lifecycle-controller/operator/api/v1alpha1 version: v1alpha1 - api: crdVersion: v1 @@ -56,7 +56,7 @@ resources: domain: keptn.sh group: lifecycle kind: KeptnAppVersion - path: github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1 + path: github.com/keptn/lifecycle-controller/operator/api/v1alpha1 version: v1alpha1 - api: crdVersion: v1 @@ -65,7 +65,7 @@ resources: domain: keptn.sh group: lifecycle kind: KeptnEvaluationDefinition - path: github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1 + path: github.com/keptn/lifecycle-controller/operator/api/v1alpha1 version: v1alpha1 - api: crdVersion: v1 @@ -73,7 +73,7 @@ resources: domain: keptn.sh group: lifecycle kind: KeptnEvaluationProvider - path: github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1 + path: github.com/keptn/lifecycle-controller/operator/api/v1alpha1 version: v1alpha1 - api: crdVersion: v1 @@ -82,6 +82,6 @@ resources: domain: keptn.sh group: lifecycle kind: KeptnEvaluation - path: github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1 + path: github.com/keptn/lifecycle-controller/operator/api/v1alpha1 version: v1alpha1 version: "3" diff --git a/operator/api/v1alpha1/keptnappversion_types.go b/operator/api/v1alpha1/keptnappversion_types.go index 4eadb8a19e..143d851687 100644 --- a/operator/api/v1alpha1/keptnappversion_types.go +++ b/operator/api/v1alpha1/keptnappversion_types.go @@ -19,7 +19,7 @@ package v1alpha1 import ( "time" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/common" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/common" "go.opentelemetry.io/otel/attribute" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) diff --git a/operator/api/v1alpha1/keptnevaluation_types.go b/operator/api/v1alpha1/keptnevaluation_types.go index e0443e5cf1..c90518f56b 100644 --- a/operator/api/v1alpha1/keptnevaluation_types.go +++ b/operator/api/v1alpha1/keptnevaluation_types.go @@ -19,7 +19,7 @@ package v1alpha1 import ( "time" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/common" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/common" "go.opentelemetry.io/otel/attribute" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) diff --git a/operator/api/v1alpha1/keptntask_types.go b/operator/api/v1alpha1/keptntask_types.go index b41f664944..600a6e3543 100644 --- a/operator/api/v1alpha1/keptntask_types.go +++ b/operator/api/v1alpha1/keptntask_types.go @@ -19,7 +19,7 @@ package v1alpha1 import ( "time" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/common" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/common" "go.opentelemetry.io/otel/attribute" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) diff --git a/operator/api/v1alpha1/keptnworkloadinstance_types.go b/operator/api/v1alpha1/keptnworkloadinstance_types.go index 7cf1297a7f..1e9059ec05 100644 --- a/operator/api/v1alpha1/keptnworkloadinstance_types.go +++ b/operator/api/v1alpha1/keptnworkloadinstance_types.go @@ -19,7 +19,7 @@ package v1alpha1 import ( "time" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/common" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/common" "go.opentelemetry.io/otel/attribute" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) diff --git a/operator/api/v1alpha1/semconv/semconv.go b/operator/api/v1alpha1/semconv/semconv.go index c513f09788..76a21c6699 100644 --- a/operator/api/v1alpha1/semconv/semconv.go +++ b/operator/api/v1alpha1/semconv/semconv.go @@ -1,8 +1,8 @@ package semconv import ( - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/common" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/common" "go.opentelemetry.io/otel/trace" ) diff --git a/operator/config/manager/manager.yaml b/operator/config/manager/manager.yaml index 564944bbb6..06c05cfd7d 100644 --- a/operator/config/manager/manager.yaml +++ b/operator/config/manager/manager.yaml @@ -47,7 +47,7 @@ spec: - name: OTEL_COLLECTOR_URL value: otel-collector:4317 - name: FUNCTION_RUNNER_IMAGE - value: ghcr.io/keptn-sandbox/functions-runtime:v0.3.0 #x-release-please-version + value: ghcr.io/keptn/functions-runtime:v0.3.0 #x-release-please-version securityContext: allowPrivilegeEscalation: false capabilities: diff --git a/operator/config/samples/function_execution/taskdefinition_function_upstream.yaml b/operator/config/samples/function_execution/taskdefinition_function_upstream.yaml index 29af0756d8..0adbfc5d97 100644 --- a/operator/config/samples/function_execution/taskdefinition_function_upstream.yaml +++ b/operator/config/samples/function_execution/taskdefinition_function_upstream.yaml @@ -5,5 +5,5 @@ metadata: spec: function: httpRef: - url: https://raw.githubusercontent.com/keptn-sandbox/lifecycle-controller/main/functions-runtime/samples/ts/slack.ts + url: https://raw.githubusercontent.com/keptn/lifecycle-controller/main/functions-runtime/samples/ts/slack.ts diff --git a/operator/config/samples/function_execution/taskdefinition_function_upstream_scheduler.yaml b/operator/config/samples/function_execution/taskdefinition_function_upstream_scheduler.yaml index d32f9c1b74..8275839a01 100644 --- a/operator/config/samples/function_execution/taskdefinition_function_upstream_scheduler.yaml +++ b/operator/config/samples/function_execution/taskdefinition_function_upstream_scheduler.yaml @@ -5,5 +5,5 @@ metadata: spec: function: httpRef: - url: https://raw.githubusercontent.com/keptn-sandbox/lifecycle-controller/main/functions-runtime/samples/ts/schedule.ts + url: https://raw.githubusercontent.com/keptn/lifecycle-controller/main/functions-runtime/samples/ts/schedule.ts diff --git a/operator/config/samples/function_execution/taskdefinition_function_upstream_slack.yaml b/operator/config/samples/function_execution/taskdefinition_function_upstream_slack.yaml index 29af0756d8..0adbfc5d97 100644 --- a/operator/config/samples/function_execution/taskdefinition_function_upstream_slack.yaml +++ b/operator/config/samples/function_execution/taskdefinition_function_upstream_slack.yaml @@ -5,5 +5,5 @@ metadata: spec: function: httpRef: - url: https://raw.githubusercontent.com/keptn-sandbox/lifecycle-controller/main/functions-runtime/samples/ts/slack.ts + url: https://raw.githubusercontent.com/keptn/lifecycle-controller/main/functions-runtime/samples/ts/slack.ts diff --git a/operator/controllers/keptnapp/controller.go b/operator/controllers/keptnapp/controller.go index a4dcc8fc6c..af81560424 100644 --- a/operator/controllers/keptnapp/controller.go +++ b/operator/controllers/keptnapp/controller.go @@ -36,8 +36,8 @@ import ( "sigs.k8s.io/controller-runtime/pkg/reconcile" "github.com/go-logr/logr" - klcv1alpha1 "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/semconv" + klcv1alpha1 "github.com/keptn/lifecycle-controller/operator/api/v1alpha1" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/semconv" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) diff --git a/operator/controllers/keptnappversion/controller.go b/operator/controllers/keptnappversion/controller.go index d78f90388b..59ce3029c9 100644 --- a/operator/controllers/keptnappversion/controller.go +++ b/operator/controllers/keptnappversion/controller.go @@ -21,21 +21,21 @@ import ( "fmt" "time" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/semconv" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/semconv" "go.opentelemetry.io/otel/codes" "go.opentelemetry.io/otel/trace" "sigs.k8s.io/controller-runtime/pkg/builder" "sigs.k8s.io/controller-runtime/pkg/predicate" "github.com/go-logr/logr" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/common" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/common" "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/propagation" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/client-go/tools/record" "sigs.k8s.io/controller-runtime/pkg/reconcile" - klcv1alpha1 "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1" + klcv1alpha1 "github.com/keptn/lifecycle-controller/operator/api/v1alpha1" "k8s.io/apimachinery/pkg/runtime" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" diff --git a/operator/controllers/keptnappversion/reconcile_prepostdeployment.go b/operator/controllers/keptnappversion/reconcile_prepostdeployment.go index 75bcfd42ed..cee11b3b8b 100644 --- a/operator/controllers/keptnappversion/reconcile_prepostdeployment.go +++ b/operator/controllers/keptnappversion/reconcile_prepostdeployment.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/semconv" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/semconv" "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/propagation" "go.opentelemetry.io/otel/trace" @@ -13,8 +13,8 @@ import ( "k8s.io/apimachinery/pkg/types" "sigs.k8s.io/controller-runtime/pkg/controller/controllerutil" - klcv1alpha1 "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/common" + klcv1alpha1 "github.com/keptn/lifecycle-controller/operator/api/v1alpha1" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/common" ) func (r *KeptnAppVersionReconciler) reconcilePrePostDeployment(ctx context.Context, appVersion *klcv1alpha1.KeptnAppVersion, checkType common.CheckType) (common.KeptnState, error) { diff --git a/operator/controllers/keptnappversion/reconcile_prepostevaluation.go b/operator/controllers/keptnappversion/reconcile_prepostevaluation.go index 5a535aaef1..b20c850e71 100644 --- a/operator/controllers/keptnappversion/reconcile_prepostevaluation.go +++ b/operator/controllers/keptnappversion/reconcile_prepostevaluation.go @@ -5,9 +5,9 @@ import ( "fmt" "time" - klcv1alpha1 "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/common" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/semconv" + klcv1alpha1 "github.com/keptn/lifecycle-controller/operator/api/v1alpha1" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/common" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/semconv" "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/propagation" "go.opentelemetry.io/otel/trace" diff --git a/operator/controllers/keptnappversion/reconcile_workloadsstate.go b/operator/controllers/keptnappversion/reconcile_workloadsstate.go index b90f4152c9..80c2b6a20d 100644 --- a/operator/controllers/keptnappversion/reconcile_workloadsstate.go +++ b/operator/controllers/keptnappversion/reconcile_workloadsstate.go @@ -4,8 +4,8 @@ import ( "context" "fmt" - klcv1alpha1 "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/common" + klcv1alpha1 "github.com/keptn/lifecycle-controller/operator/api/v1alpha1" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/common" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/types" ) diff --git a/operator/controllers/keptnevaluation/controller.go b/operator/controllers/keptnevaluation/controller.go index 9a17ac3af8..997606a200 100644 --- a/operator/controllers/keptnevaluation/controller.go +++ b/operator/controllers/keptnevaluation/controller.go @@ -42,9 +42,9 @@ import ( "sigs.k8s.io/controller-runtime/pkg/predicate" "github.com/go-logr/logr" - klcv1alpha1 "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/common" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/semconv" + klcv1alpha1 "github.com/keptn/lifecycle-controller/operator/api/v1alpha1" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/common" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/semconv" ) // KeptnEvaluationReconciler reconciles a KeptnEvaluation object diff --git a/operator/controllers/keptntask/controller.go b/operator/controllers/keptntask/controller.go index 3bc7beef35..4bd006d535 100644 --- a/operator/controllers/keptntask/controller.go +++ b/operator/controllers/keptntask/controller.go @@ -22,9 +22,9 @@ import ( "time" "github.com/go-logr/logr" - klcv1alpha1 "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/common" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/semconv" + klcv1alpha1 "github.com/keptn/lifecycle-controller/operator/api/v1alpha1" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/common" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/semconv" "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/codes" "go.opentelemetry.io/otel/propagation" diff --git a/operator/controllers/keptntask/function_utils.go b/operator/controllers/keptntask/function_utils.go index 9b26d1ccaf..be1e6f4688 100644 --- a/operator/controllers/keptntask/function_utils.go +++ b/operator/controllers/keptntask/function_utils.go @@ -6,8 +6,8 @@ import ( "math/rand" "os" - klcv1alpha1 "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/common" + klcv1alpha1 "github.com/keptn/lifecycle-controller/operator/api/v1alpha1" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/common" batchv1 "k8s.io/api/batch/v1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/operator/controllers/keptntask/job_utils.go b/operator/controllers/keptntask/job_utils.go index 40f9e96fa3..b2d538c1d0 100644 --- a/operator/controllers/keptntask/job_utils.go +++ b/operator/controllers/keptntask/job_utils.go @@ -5,10 +5,10 @@ import ( "fmt" "reflect" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/common" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/common" "github.com/imdario/mergo" - klcv1alpha1 "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1" + klcv1alpha1 "github.com/keptn/lifecycle-controller/operator/api/v1alpha1" batchv1 "k8s.io/api/batch/v1" "k8s.io/apimachinery/pkg/types" ctrl "sigs.k8s.io/controller-runtime" diff --git a/operator/controllers/keptntask/task_utils.go b/operator/controllers/keptntask/task_utils.go index 790705ec02..bc4011d082 100644 --- a/operator/controllers/keptntask/task_utils.go +++ b/operator/controllers/keptntask/task_utils.go @@ -2,7 +2,7 @@ package keptntask import ( "context" - klcv1alpha1 "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1" + klcv1alpha1 "github.com/keptn/lifecycle-controller/operator/api/v1alpha1" "k8s.io/apimachinery/pkg/types" ) diff --git a/operator/controllers/keptntaskdefinition/controller.go b/operator/controllers/keptntaskdefinition/controller.go index cc33558b76..60d0af6d30 100644 --- a/operator/controllers/keptntaskdefinition/controller.go +++ b/operator/controllers/keptntaskdefinition/controller.go @@ -19,7 +19,7 @@ package keptntaskdefinition import ( "context" "github.com/go-logr/logr" - klcv1alpha1 "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1" + klcv1alpha1 "github.com/keptn/lifecycle-controller/operator/api/v1alpha1" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/client-go/tools/record" diff --git a/operator/controllers/keptntaskdefinition/reconcile_function.go b/operator/controllers/keptntaskdefinition/reconcile_function.go index f53636d17b..c3040f744c 100644 --- a/operator/controllers/keptntaskdefinition/reconcile_function.go +++ b/operator/controllers/keptntaskdefinition/reconcile_function.go @@ -3,7 +3,7 @@ package keptntaskdefinition import ( "context" "fmt" - klcv1alpha1 "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1" + klcv1alpha1 "github.com/keptn/lifecycle-controller/operator/api/v1alpha1" corev1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/errors" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/operator/controllers/keptnworkload/controller.go b/operator/controllers/keptnworkload/controller.go index 8bfb2363a1..e373a765f4 100644 --- a/operator/controllers/keptnworkload/controller.go +++ b/operator/controllers/keptnworkload/controller.go @@ -19,7 +19,7 @@ package keptnworkload import ( "context" "fmt" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/semconv" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/semconv" "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/codes" "go.opentelemetry.io/otel/propagation" @@ -35,7 +35,7 @@ import ( "sigs.k8s.io/controller-runtime/pkg/controller/controllerutil" "sigs.k8s.io/controller-runtime/pkg/reconcile" - klcv1alpha1 "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1" + klcv1alpha1 "github.com/keptn/lifecycle-controller/operator/api/v1alpha1" "k8s.io/apimachinery/pkg/runtime" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" diff --git a/operator/controllers/keptnworkloadinstance/controller.go b/operator/controllers/keptnworkloadinstance/controller.go index 928e385498..f13243cc37 100644 --- a/operator/controllers/keptnworkloadinstance/controller.go +++ b/operator/controllers/keptnworkloadinstance/controller.go @@ -22,7 +22,7 @@ import ( "golang.org/x/mod/semver" "time" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/semconv" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/semconv" "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/codes" "go.opentelemetry.io/otel/propagation" @@ -37,8 +37,8 @@ import ( "sigs.k8s.io/controller-runtime/pkg/predicate" "sigs.k8s.io/controller-runtime/pkg/reconcile" - klcv1alpha1 "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/common" + klcv1alpha1 "github.com/keptn/lifecycle-controller/operator/api/v1alpha1" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/common" "k8s.io/apimachinery/pkg/runtime" ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" diff --git a/operator/controllers/keptnworkloadinstance/controller_test.go b/operator/controllers/keptnworkloadinstance/controller_test.go index d8f1dfe910..1cc0306cda 100644 --- a/operator/controllers/keptnworkloadinstance/controller_test.go +++ b/operator/controllers/keptnworkloadinstance/controller_test.go @@ -4,7 +4,7 @@ import ( "context" "testing" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1" testrequire "github.com/stretchr/testify/require" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/operator/controllers/keptnworkloadinstance/reconcile_deploymentstate.go b/operator/controllers/keptnworkloadinstance/reconcile_deploymentstate.go index 042aea63bc..6fab63340b 100644 --- a/operator/controllers/keptnworkloadinstance/reconcile_deploymentstate.go +++ b/operator/controllers/keptnworkloadinstance/reconcile_deploymentstate.go @@ -2,8 +2,8 @@ package keptnworkloadinstance import ( "context" - klcv1alpha1 "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/common" + klcv1alpha1 "github.com/keptn/lifecycle-controller/operator/api/v1alpha1" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/common" appsv1 "k8s.io/api/apps/v1" corev1 "k8s.io/api/core/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/operator/controllers/keptnworkloadinstance/reconcile_prepostdeployment.go b/operator/controllers/keptnworkloadinstance/reconcile_prepostdeployment.go index 116ac96965..53598f694e 100644 --- a/operator/controllers/keptnworkloadinstance/reconcile_prepostdeployment.go +++ b/operator/controllers/keptnworkloadinstance/reconcile_prepostdeployment.go @@ -4,9 +4,9 @@ import ( "context" "fmt" - klcv1alpha1 "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/common" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/semconv" + klcv1alpha1 "github.com/keptn/lifecycle-controller/operator/api/v1alpha1" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/common" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/semconv" "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/propagation" "go.opentelemetry.io/otel/trace" diff --git a/operator/controllers/keptnworkloadinstance/reconcile_prepostevaluation.go b/operator/controllers/keptnworkloadinstance/reconcile_prepostevaluation.go index 8ccaaefd81..412c06319f 100644 --- a/operator/controllers/keptnworkloadinstance/reconcile_prepostevaluation.go +++ b/operator/controllers/keptnworkloadinstance/reconcile_prepostevaluation.go @@ -5,9 +5,9 @@ import ( "fmt" "time" - klcv1alpha1 "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/common" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/semconv" + klcv1alpha1 "github.com/keptn/lifecycle-controller/operator/api/v1alpha1" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/common" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/semconv" "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/propagation" "go.opentelemetry.io/otel/trace" diff --git a/operator/controllers/suite_test.go b/operator/controllers/suite_test.go index aabbc0fcd5..670ec5f425 100644 --- a/operator/controllers/suite_test.go +++ b/operator/controllers/suite_test.go @@ -31,7 +31,7 @@ import ( logf "sigs.k8s.io/controller-runtime/pkg/log" "sigs.k8s.io/controller-runtime/pkg/log/zap" - lifecyclev1alpha1 "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1" + lifecyclev1alpha1 "github.com/keptn/lifecycle-controller/operator/api/v1alpha1" //+kubebuilder:scaffold:imports ) diff --git a/operator/go.mod b/operator/go.mod index 59c9dd8e47..e61db9c377 100644 --- a/operator/go.mod +++ b/operator/go.mod @@ -1,4 +1,4 @@ -module github.com/keptn-sandbox/lifecycle-controller/operator +module github.com/keptn/lifecycle-controller/operator go 1.18 diff --git a/operator/main.go b/operator/main.go index aed6d8b037..a1d744be46 100644 --- a/operator/main.go +++ b/operator/main.go @@ -28,20 +28,20 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials/insecure" - "github.com/keptn-sandbox/lifecycle-controller/operator/controllers/keptnappversion" + "github.com/keptn/lifecycle-controller/operator/controllers/keptnappversion" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/common" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/common" - "github.com/keptn-sandbox/lifecycle-controller/operator/controllers/keptnworkload" - "github.com/keptn-sandbox/lifecycle-controller/operator/controllers/keptnworkloadinstance" + "github.com/keptn/lifecycle-controller/operator/controllers/keptnworkload" + "github.com/keptn/lifecycle-controller/operator/controllers/keptnworkloadinstance" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promhttp" - "github.com/keptn-sandbox/lifecycle-controller/operator/controllers/keptnapp" - "github.com/keptn-sandbox/lifecycle-controller/operator/controllers/keptnevaluation" - "github.com/keptn-sandbox/lifecycle-controller/operator/controllers/keptntask" - "github.com/keptn-sandbox/lifecycle-controller/operator/controllers/keptntaskdefinition" + "github.com/keptn/lifecycle-controller/operator/controllers/keptnapp" + "github.com/keptn/lifecycle-controller/operator/controllers/keptnevaluation" + "github.com/keptn/lifecycle-controller/operator/controllers/keptntask" + "github.com/keptn/lifecycle-controller/operator/controllers/keptntaskdefinition" "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/exporters/stdout/stdouttrace" @@ -71,9 +71,9 @@ import ( "sigs.k8s.io/controller-runtime/pkg/healthz" "sigs.k8s.io/controller-runtime/pkg/log/zap" - lifecyclev1alpha1 "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1" + lifecyclev1alpha1 "github.com/keptn/lifecycle-controller/operator/api/v1alpha1" - "github.com/keptn-sandbox/lifecycle-controller/operator/webhooks" + "github.com/keptn/lifecycle-controller/operator/webhooks" //+kubebuilder:scaffold:imports ) diff --git a/operator/webhooks/pod_mutating_webhook.go b/operator/webhooks/pod_mutating_webhook.go index f310169308..bc5200f8a8 100644 --- a/operator/webhooks/pod_mutating_webhook.go +++ b/operator/webhooks/pod_mutating_webhook.go @@ -9,9 +9,9 @@ import ( "strings" "github.com/go-logr/logr" - klcv1alpha1 "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/common" - "github.com/keptn-sandbox/lifecycle-controller/operator/api/v1alpha1/semconv" + klcv1alpha1 "github.com/keptn/lifecycle-controller/operator/api/v1alpha1" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/common" + "github.com/keptn/lifecycle-controller/operator/api/v1alpha1/semconv" "go.opentelemetry.io/otel" "go.opentelemetry.io/otel/codes" "go.opentelemetry.io/otel/propagation" diff --git a/scheduler/Dockerfile b/scheduler/Dockerfile index 20642a731f..b3b066dc2f 100644 --- a/scheduler/Dockerfile +++ b/scheduler/Dockerfile @@ -30,7 +30,7 @@ RUN RELEASE_VERSION=${RELEASE_VERSION} HASH=${GIT_HASH} make build-scheduler.$AR FROM gcr.io/distroless/base-debian11:nonroot -LABEL org.opencontainers.image.source="https://github.com/keptn-sandbox/lifecycle-controller" \ +LABEL org.opencontainers.image.source="https://github.com/keptn/lifecycle-controller" \ org.opencontainers.image.url="https://keptn.sh" \ org.opencontainers.image.title="Keptn Lifecycle Scheduler" \ org.opencontainers.image.vendor="Keptn" \ diff --git a/scheduler/Makefile b/scheduler/Makefile index afe227064f..a928e8b28a 100644 --- a/scheduler/Makefile +++ b/scheduler/Makefile @@ -23,7 +23,7 @@ LOCAL_CONTROLLER_IMAGE=controller:latest # RELEASE_REGISTRY is the container registry to push # into. -RELEASE_REGISTRY?=ghcr.io/keptn-sandbox +RELEASE_REGISTRY?=ghcr.io/keptn RELEASE_VERSION?=$(shell date +%Y%m%d%s)-v0.24.3#$(shell git describe --tags --match "v*") RELEASE_IMAGE:=scheduler:$(TAG) RELEASE_CONTROLLER_IMAGE:=controller:$(RELEASE_VERSION) @@ -177,4 +177,4 @@ push-local: elif [[ "${ARCH}" == "arm64v8" ]]; then \ docker push $(RELEASE_REGISTRY)/$(RELEASE_IMAGE)-arm64 ;\ fi - docker push $(RELEASE_REGISTRY)/$(RELEASE_IMAGE) \ No newline at end of file + docker push $(RELEASE_REGISTRY)/$(RELEASE_IMAGE) diff --git a/scheduler/cmd/scheduler/main.go b/scheduler/cmd/scheduler/main.go index 887c1bbdae..39e695d256 100644 --- a/scheduler/cmd/scheduler/main.go +++ b/scheduler/cmd/scheduler/main.go @@ -30,7 +30,7 @@ import ( "google.golang.org/grpc" "k8s.io/klog/v2" - "github.com/keptn-sandbox/lifecycle-controller/scheduler/pkg/klcpermit" + "github.com/keptn/lifecycle-controller/scheduler/pkg/klcpermit" "k8s.io/apimachinery/pkg/util/rand" "k8s.io/component-base/cli" "k8s.io/kubernetes/cmd/kube-scheduler/app" diff --git a/scheduler/go.mod b/scheduler/go.mod index 50132c74b9..6a3ed94c1c 100644 --- a/scheduler/go.mod +++ b/scheduler/go.mod @@ -1,4 +1,4 @@ -module github.com/keptn-sandbox/lifecycle-controller/scheduler +module github.com/keptn/lifecycle-controller/scheduler go 1.18 @@ -113,7 +113,7 @@ require ( ) replace ( - github.com/keptn-sandbox/lifecycle-controller/scheduler/pkg/klcpermit => /pkg/klcpermit + github.com/keptn/lifecycle-controller/scheduler/pkg/klcpermit => /pkg/klcpermit k8s.io/api => k8s.io/api v0.24.3 k8s.io/apiextensions-apiserver => k8s.io/apiextensions-apiserver v0.24.3 k8s.io/apimachinery => k8s.io/apimachinery v0.24.3 diff --git a/scheduler/pkg/klcpermit/workflow_manager.go b/scheduler/pkg/klcpermit/workflow_manager.go index 2a1f73ef0b..35120bae03 100644 --- a/scheduler/pkg/klcpermit/workflow_manager.go +++ b/scheduler/pkg/klcpermit/workflow_manager.go @@ -3,7 +3,7 @@ package klcpermit import ( "context" "fmt" - "github.com/keptn-sandbox/lifecycle-controller/scheduler/pkg/tracing" + "github.com/keptn/lifecycle-controller/scheduler/pkg/tracing" "go.opentelemetry.io/otel/codes" "hash/fnv" corev1 "k8s.io/api/core/v1" @@ -104,7 +104,7 @@ func (sMgr *WorkloadManager) Permit(ctx context.Context, pod *corev1.Pod) Status return WorkloadInstanceStatusNotSpecified } -//GetCRD returns unstructured to avoid tight coupling with the CRD resource +// GetCRD returns unstructured to avoid tight coupling with the CRD resource func (sMgr *WorkloadManager) GetCRD(ctx context.Context, namespace string, name string) (*unstructured.Unstructured, error) { // GET /apis/lifecycle.keptn.sh/v1/namespaces/{namespace}/workloadinstance/name return sMgr.dynamicClient.Resource(workloadInstanceResource).Namespace(namespace).Get(ctx, name, metav1.GetOptions{})