Closed jichenjc closed 3 years ago
/assign
looks like we are expecting deep equal here
but my test shows
spec:
clusterIP: 10.99.20.208
clusterIPs:
- 10.99.20.208
ipFamilies:
- IPv4
ipFamilyPolicy: SingleStack
ports:
- name: https
port: 443
protocol: TCP
targetPort: 6443
sessionAffinity: None
type: ClusterIP
spec:
clusterIP: 10.32.0.1
ports:
- name: https
port: 443
protocol: TCP
targetPort: 6443
sessionAffinity: None
type: ClusterIP
and we hard code the clusterIP https://github.com/kubernetes-sigs/cluster-api-provider-nested/blob/main/virtualcluster/pkg/syncer/conversion/equality.go#L678
so might need consider why following and how to handle
ipFamilies:
What steps did you take and what happened: [A clear and concise description on how to REPRODUCE the bug.]
looks like every min we got one such warning which is annoying and confusing
What did you expect to happen:
Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]
Environment:
kubectl version
):/etc/os-release
):/kind bug [One or more /area label. See https://github.com/kubernetes-sigs/cluster-api-provider-nested/labels?q=area for the list of labels]