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

Move CRD convert functionality to v1alpha1 package #2704

Merged
merged 2 commits into from
Mar 4, 2024

Conversation

pavolloffay
Copy link
Member

Description:

The v1alpha1 CRD will implement the conversion webhook. To avoid circular dependencies moving the conversion to v1alpha1

Link to tracking Issue(s):

Updates: #2620

  • Resolves: #issue-number

Testing:

Documentation:

@pavolloffay pavolloffay requested a review from a team March 4, 2024 15:58
@@ -21,8 +21,6 @@ import (
v1 "k8s.io/api/core/v1"
networkingv1 "k8s.io/api/networking/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

"github.com/open-telemetry/opentelemetry-operator/apis/v1alpha1"
Copy link
Contributor

Choose a reason for hiding this comment

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

love to see us breaking the cycle :D

Copy link
Contributor

@jaronoff97 jaronoff97 left a comment

Choose a reason for hiding this comment

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

one question/comment. otherwise this looks good

apis/v1beta1/opentelemetrycollector_types.go Outdated Show resolved Hide resolved
@jaronoff97 jaronoff97 added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Mar 4, 2024
Copy link
Contributor

@swiatekm swiatekm left a comment

Choose a reason for hiding this comment

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

LGTM

@jaronoff97 jaronoff97 enabled auto-merge (squash) March 4, 2024 16:19
@jaronoff97 jaronoff97 merged commit 50e847f into open-telemetry:main Mar 4, 2024
29 checks passed
ItielOlenick pushed a commit to ItielOlenick/opentelemetry-operator that referenced this pull request May 1, 2024
* Move CRD convert functionality to v1alpha1 package

Signed-off-by: Pavol Loffay <[email protected]>

* Fix

---------

Signed-off-by: Pavol Loffay <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants