diff --git a/go.mod b/go.mod index 2d42a225c..3394e8580 100644 --- a/go.mod +++ b/go.mod @@ -18,6 +18,6 @@ require ( k8s.io/apimachinery v0.18.12 k8s.io/client-go v0.18.12 knative.dev/hack v0.0.0-20201214230143-4ed1ecb8db24 - knative.dev/networking v0.0.0-20201231021130-99ffcf03fd0a - knative.dev/pkg v0.0.0-20201224024804-27db5ac24cfb + knative.dev/networking v0.0.0-20210107024535-ecb89ced52d9 + knative.dev/pkg v0.0.0-20210107022335-51c72e24c179 ) diff --git a/go.sum b/go.sum index ffe83aea5..9042f414d 100644 --- a/go.sum +++ b/go.sum @@ -1154,10 +1154,12 @@ k8s.io/utils v0.0.0-20200603063816-c1c6865ac451 h1:v8ud2Up6QK1lNOKFgiIVrZdMg7Mpm k8s.io/utils v0.0.0-20200603063816-c1c6865ac451/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA= knative.dev/hack v0.0.0-20201214230143-4ed1ecb8db24 h1:kIztWfvnIFV8Lhlea02K3YO2mIzcDyQNzrBLn0Oq9sA= knative.dev/hack v0.0.0-20201214230143-4ed1ecb8db24/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI= -knative.dev/networking v0.0.0-20201231021130-99ffcf03fd0a h1:vuTtHGx8W/kBzxyw5v3zTL+xdfZCHu0xH8qc07vGcRs= -knative.dev/networking v0.0.0-20201231021130-99ffcf03fd0a/go.mod h1:N123KICErXy+bPo1oBszM6TVYGG0Za2wMmnEqX4MlFg= +knative.dev/networking v0.0.0-20210107024535-ecb89ced52d9 h1:7SXik2ulHr7URICeDYHPVdnyuT72RW9GouJ97XRkWbo= +knative.dev/networking v0.0.0-20210107024535-ecb89ced52d9/go.mod h1:N123KICErXy+bPo1oBszM6TVYGG0Za2wMmnEqX4MlFg= knative.dev/pkg v0.0.0-20201224024804-27db5ac24cfb h1:XVcmpSvfDMZ5Z+1pebSm5Msq5sQey/V4NHF2+dFNU1o= knative.dev/pkg v0.0.0-20201224024804-27db5ac24cfb/go.mod h1:hckgW978SdzPA2H5EDvRPY8xsnPuDZLJLbPf8Jte7Q0= +knative.dev/pkg v0.0.0-20210107022335-51c72e24c179 h1:lkrgrv69iUk2qhOG9symy15kJUaJZmMybSloi7C3gIw= +knative.dev/pkg v0.0.0-20210107022335-51c72e24c179/go.mod h1:hckgW978SdzPA2H5EDvRPY8xsnPuDZLJLbPf8Jte7Q0= pgregory.net/rapid v0.3.3/go.mod h1:UYpPVyjFHzYBGHIxLFoupi8vwk6rXNzRY9OMvVxFIOU= rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= diff --git a/vendor/knative.dev/networking/pkg/apis/networking/v1alpha1/domainclaim_types.go b/vendor/knative.dev/networking/pkg/apis/networking/v1alpha1/domainclaim_types.go index 5248b51fb..df19f31d7 100644 --- a/vendor/knative.dev/networking/pkg/apis/networking/v1alpha1/domainclaim_types.go +++ b/vendor/knative.dev/networking/pkg/apis/networking/v1alpha1/domainclaim_types.go @@ -32,6 +32,11 @@ type ClusterDomainClaim struct { // More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#metadata // +optional metav1.ObjectMeta `json:"metadata,omitempty"` + + // Spec is the desired state of the ClusterDomainClaim. + // More info: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status + // +optional + Spec ClusterDomainClaimSpec `json:"spec,omitempty"` } var ( @@ -52,3 +57,12 @@ type ClusterDomainClaimList struct { // Items is the list of ClusterDomainClaim objects. Items []ClusterDomainClaim `json:"items"` } + +// ClusterDomainClaimSpec is the desired state of the ClusterDomainClaim. +// Its only field is `namespace`, which controls which namespace currently owns +// the ability to create a DomainMapping with the ClusterDomainClaim's name. +type ClusterDomainClaimSpec struct { + // Namespace is the namespace which is allowed to create a DomainMapping + // using this ClusterDomainClaim's name. + Namespace string `json:"namespace"` +} diff --git a/vendor/knative.dev/networking/pkg/apis/networking/v1alpha1/zz_generated.deepcopy.go b/vendor/knative.dev/networking/pkg/apis/networking/v1alpha1/zz_generated.deepcopy.go index abecc7d77..312909684 100644 --- a/vendor/knative.dev/networking/pkg/apis/networking/v1alpha1/zz_generated.deepcopy.go +++ b/vendor/knative.dev/networking/pkg/apis/networking/v1alpha1/zz_generated.deepcopy.go @@ -141,6 +141,7 @@ func (in *ClusterDomainClaim) DeepCopyInto(out *ClusterDomainClaim) { *out = *in out.TypeMeta = in.TypeMeta in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + out.Spec = in.Spec return } @@ -195,6 +196,22 @@ func (in *ClusterDomainClaimList) DeepCopyObject() runtime.Object { return nil } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterDomainClaimSpec) DeepCopyInto(out *ClusterDomainClaimSpec) { + *out = *in + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterDomainClaimSpec. +func (in *ClusterDomainClaimSpec) DeepCopy() *ClusterDomainClaimSpec { + if in == nil { + return nil + } + out := new(ClusterDomainClaimSpec) + in.DeepCopyInto(out) + return out +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *Domain) DeepCopyInto(out *Domain) { *out = *in diff --git a/vendor/knative.dev/pkg/version/version.go b/vendor/knative.dev/pkg/version/version.go index cac1399a4..34504debf 100644 --- a/vendor/knative.dev/pkg/version/version.go +++ b/vendor/knative.dev/pkg/version/version.go @@ -30,6 +30,9 @@ const ( // the Kubernetes minimum version required by Knative. KubernetesMinVersionKey = "KUBERNETES_MIN_VERSION" + // NOTE: If you are changing this line, please also update the minimum kubernetes + // version listed here: + // https://github.com/knative/docs/blob/master/docs/install/any-kubernetes-cluster.md#before-you-begin defaultMinimumVersion = "v1.17.0" ) diff --git a/vendor/modules.txt b/vendor/modules.txt index 90bd7af69..a3ac65fc1 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -840,7 +840,7 @@ k8s.io/utils/trace # knative.dev/hack v0.0.0-20201214230143-4ed1ecb8db24 ## explicit knative.dev/hack -# knative.dev/networking v0.0.0-20201231021130-99ffcf03fd0a +# knative.dev/networking v0.0.0-20210107024535-ecb89ced52d9 ## explicit knative.dev/networking/pkg knative.dev/networking/pkg/apis/networking @@ -871,7 +871,7 @@ knative.dev/networking/test/test_images/runtime/handlers knative.dev/networking/test/test_images/timeout knative.dev/networking/test/test_images/wsserver knative.dev/networking/test/types -# knative.dev/pkg v0.0.0-20201224024804-27db5ac24cfb +# knative.dev/pkg v0.0.0-20210107022335-51c72e24c179 ## explicit knative.dev/pkg/apis knative.dev/pkg/apis/duck