Skip to content

Conversation

@mayooot
Copy link
Contributor

@mayooot mayooot commented Apr 25, 2025

What issue type does this pull request address? (keep at least one, remove the others)
/kind bugfix

What does this pull request do? Which issues does it resolve?

#1926

Please provide a short message that should be published in the vcluster release notes

When I use syncer --map-host-service args to sync the serivce from the physical k8s cluster inside vcluster, the ClusterIP is None, which is present in every version of vcluster.

So I modified servicesync.go and built the image locally and tested it on a production vcluster and it works, synchronizing both the headless service and the clusterIP serivce.

Note that ClusterIP: fromService.Spec.ClusterIP is sufficient, there is no need to determine if fromService.Spec.ClusterIP is corev1.ClusterIPNone.

@mayooot mayooot requested a review from a team as a code owner April 25, 2025 12:54
@netlify
Copy link

netlify bot commented Apr 25, 2025

Deploy Preview for vcluster-docs canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit dbd8fe0
🔍 Latest deploy log https://app.netlify.com/sites/vcluster-docs/deploys/680b86765a92f30008eb1839
@mayooot mayooot requested a review from a team as a code owner April 25, 2025 12:56
@mayooot
Copy link
Contributor Author

mayooot commented Apr 27, 2025

@FabianKramm Please review this pr, thx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant