Skip to content

Commit

Permalink
Merge pull request #8530 from k8s-infra-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…8493-to-release-1.4

[release-1.4] 🌱 Make IPAddressClaim.Status.AddressRef optional
  • Loading branch information
k8s-ci-robot committed Apr 14, 2023
2 parents 9b9e00d + d9fe9fd commit 4fb23cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions config/crd/bases/ipam.cluster.x-k8s.io_ipaddressclaims.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion exp/ipam/api/v1alpha1/ipaddressclaim_types.go
Expand Up @@ -32,7 +32,8 @@ type IPAddressClaimSpec struct {
// IPAddressClaimStatus is the observed status of a IPAddressClaim.
type IPAddressClaimStatus struct {
// AddressRef is a reference to the address that was created for this claim.
AddressRef corev1.LocalObjectReference `json:"addressRef"`
// +optional
AddressRef corev1.LocalObjectReference `json:"addressRef,omitempty"`

// Conditions summarises the current state of the IPAddressClaim
// +optional
Expand Down

0 comments on commit 4fb23cc

Please sign in to comment.