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

✨ Add managed cluster arn for the klusterlet api #341

Conversation

suvaanshkumar
Copy link
Contributor

Summary

This change is needed to generate md5 hash in klusterlet_controller

Related issue(s)

Fixes #

@openshift-ci openshift-ci bot requested review from deads2k and qiujian16 September 23, 2024 20:44
@suvaanshkumar suvaanshkumar force-pushed the Klusterlet-Api-Change_Request branch from dea25b8 to e419c2d Compare September 23, 2024 20:45
Copy link
Member

@mikeshng mikeshng left a comment

Choose a reason for hiding this comment

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

https://github.com/open-cluster-management-io/api/blob/main/docs/development.md

You need to follow some steps to autogen some additional changes.

@suvaanshkumar suvaanshkumar force-pushed the Klusterlet-Api-Change_Request branch from e419c2d to 08d8638 Compare September 23, 2024 21:08
@@ -193,7 +193,8 @@ type AwsIrsa struct {
// The arn of the hub cluster (ie: an EKS cluster). This will be required to pass information to hub, which hub will use to create IAM identities for this klusterlet.
// Example - arn:eks:us-west-2:12345678910:cluster/hub-cluster1.
// +required
HubClusterArn string `json:"hubClusterArn"`
HubClusterArn string `json:"hubClusterArn"`
ManagedClusterArn string `json:"managedClusterArn"`
Copy link
Member

Choose a reason for hiding this comment

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

Could you please add a comment to describe what this field is for?

Copy link
Member

Choose a reason for hiding this comment

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

if this is the required field, you would want a validation for minLength to be 1? Same for HubClusterArn

@suvaanshkumar suvaanshkumar force-pushed the Klusterlet-Api-Change_Request branch from 08d8638 to cdcdc9b Compare September 24, 2024 14:26
@mikeshng
Copy link
Member

/assign @qiujian16

Copy link
Member

@mikeshng mikeshng left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added lgtm and removed lgtm labels Sep 24, 2024
@jaswalkiranavtar jaswalkiranavtar force-pushed the Klusterlet-Api-Change_Request branch from c1636ec to 256710f Compare September 26, 2024 21:37
Copy link
Member

@mikeshng mikeshng left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Sep 26, 2024
Copy link
Member

@qiujian16 qiujian16 left a comment

Choose a reason for hiding this comment

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

/approve
/lgtm

Copy link
Contributor

openshift-ci bot commented Sep 27, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mikeshng, qiujian16, suvaanshkumar

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit e49c54a into open-cluster-management-io:main Sep 27, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants