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

Rename spec.service to spec.workload in KafkaServerConfig API version v2alpha1 #540

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

omris94
Copy link
Contributor

@omris94 omris94 commented Jan 2, 2025

Description

Aligning KSC with clientIntents by using the same terminology

Testing

Describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.

Please include any manual steps for testing end-to-end or functionality not covered by unit/integration tests.

Also include details of the environment this PR was developed in (language/platform/browser version).

  • This change adds test coverage for new/changed/fixed functionality

Checklist

  • I have added documentation for new/changed functionality in this PR and in github.com/otterize/docs

@omris94 omris94 requested a review from orishoshan January 2, 2025 12:46
@omris94 omris94 changed the title Rename spec.service to spec.workload in KafkaServerConfig api version v2alpha1 Rename spec.service to spec.workload in KafkaServerConfig api version v2alpha1 Jan 2, 2025
@omris94 omris94 changed the title Rename spec.service to spec.workload in KafkaServerConfig api version v2alpha1 Rename spec.service to spec.workload in KafkaServerConfig API version v2alpha1 Jan 2, 2025
src/operator/controllers/istiopolicy/policy_manager.go Outdated Show resolved Hide resolved
@@ -821,7 +821,7 @@ func (s *CloudReconcilerTestSuite) TestReportKindAndAlias() {
cloudIntent, err := intent.ConvertToCloudFormat(context.Background(), s.client, serviceidentity.ServiceIdentity{Name: clientName, Namespace: testNamespace, Kind: "StatefulSet"})
s.Require().NoError(err)
s.Require().Equal(lo.FromPtr(cloudIntent.ServerWorkloadKind), "Deployment")
s.Require().Equal(lo.FromPtr(cloudIntent.ServerAlias), graphqlclient.ServerAliasInput{Name: lo.ToPtr(serverName + "." + testNamespace), Kind: lo.ToPtr("Service")})
s.Require().Equal(lo.FromPtr(cloudIntent.ServerAlias), graphqlclient.ServerAliasInput{Name: lo.ToPtr(serverName + "." + testNamespace), Kind: lo.ToPtr("Workload")})
Copy link
Collaborator

Choose a reason for hiding this comment

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

revert

src/shared/awsagent/roles.go Outdated Show resolved Hide resolved
@omris94 omris94 requested a review from orishoshan January 9, 2025 12:49
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.

2 participants