Skip to content

Support types, CRD and mapper for NetworkManagementConnectivityTest #4213

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

Conversation

maqiuyujoyce
Copy link
Collaborator

Change description

Tests you have done

  • Run make ready-pr to ensure this PR is ready for review.
  • [N/A] Perform necessary E2E testing for changed resources.

@maqiuyujoyce maqiuyujoyce force-pushed the resource-networkmanagement-connectivitytest branch 3 times, most recently from 35ae076 to 7b3da7f Compare April 5, 2025 00:22
@yuwenma
Copy link
Collaborator

yuwenma commented Apr 7, 2025

/assign @jingyih

// Requires gke_master_cluster to be set, can't be used simultaneoulsly with
// ip_address or network. Applicable only to destination endpoint.
// +kcc:proto:field=google.cloud.networkmanagement.v1.Endpoint.fqdn
Fqdn *string `json:"fqdn,omitempty"`
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this be FQDN?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Done.

// +kcc:proto:field=google.cloud.networkmanagement.v1.Endpoint.cloud_sql_instance
SQLInstanceRef *refsv1beta1.SQLInstanceRef `json:"sqlInstance,omitempty"`

// TODO: Should be reference.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this PR still WIP?
(There are a lot of references...)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It's quite a bit of manual work to make all the reference fields work here and I think it'll be a good use of LLM or the non LLM automation tool to turn the fields into references. So I think want to keep them TODOs here and make them candidate for reference automation.

@maqiuyujoyce maqiuyujoyce force-pushed the resource-networkmanagement-connectivitytest branch from 7b3da7f to 6929cbd Compare April 10, 2025 22:13
Copy link
Collaborator

@jingyih jingyih left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@google-oss-prow google-oss-prow bot added the lgtm label Apr 10, 2025
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jingyih

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

@google-oss-prow google-oss-prow bot merged commit de34437 into GoogleCloudPlatform:master Apr 11, 2025
32 of 33 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