Skip to content

Commit

Permalink
upgrade to latest dependencies
Browse files Browse the repository at this point in the history
bumping knative.dev/networking c037e29...db2bcbe:
  > db2bcbe Assert all the expected DNSNames are part of the HTTP01 challenge (# 757)
  > e9d3a55 adjust domain validation in kcert (# 755)
  > dd05ffd upgrade to latest dependencies (# 753)
  > 3ad2fdc Update actions (# 752)
  > fe0ac7d Update community files (# 751)
  > 68f0fa7 add new field 'Domain' to kcert spec (# 747)
  > a51817e upgrade to latest dependencies (# 750)
  > bc7a7e5 Update community files (# 749)
  > eee5118 upgrade to latest dependencies (# 748)
  > f1db313 upgrade to latest dependencies (# 746)
  > 383bb2f Update community files (# 745)
  > 891aac2 upgrade to latest dependencies (# 740)
  > 5be75f2 upgrade to latest dependencies (# 739)
bumping knative.dev/hack c12c1bf...c7cfcb0:
  > c7cfcb0 Update community files (# 263)
  > af8745e Update community files (# 262)
  > cf3796d Upload attestations and print cosign version (# 261)
  > b9801b4 Update community files (# 260)
  > 7233e77 No more sugar controller in upstream eventing (# 259)
bumping knative.dev/eventing fb519df...4d6e1fc:
  > 4d6e1fc Change subscription patch logic to ensure resource version (# 6670)
  > 74e165a APIServerSource with selector to target namespaces (# 6665)
  > 1f9f4d3 Log stream from system namespace in upgrade tests (# 6699)
  > 466d123 Fix reconciler-tests Prow job (# 6694)
  > bd67450 Populate a Subscriptions subscriber and reply namespace only if not set already (# 6671)
  > 7e899fd Reduce log noise in upgrade tests (# 6693)
  > 9417125 [main] Update actions (# 6680)
  > 82d36e0 [main] Upgrade to latest dependencies (# 6681)
  > 694f824 [main] Update community files (# 6678)
  > 049f004 Knative port broker channel flow topology test to rekt (# 6675)
  > bb8fff0 [main] Upgrade to latest dependencies (# 6676)
  > d418419 Upgrade to latest dependencies (# 6672)
  > 6ef3f1d [main] Update community files (# 6673)
  > 9e692b8 Adding a testcase with a long CE (# 6666)
  > 41ba178 Allow PingSource adapter to have additional env variables (# 6664)
  > 85072d8 Do not use deprecated Configuration.Log in upgrade tests (# 6663)
  > 271c9bb [main] Upgrade to latest dependencies (# 6658)
  > 1c40365 Allowing an override of the namespace for the brokers config type (# 6659)
  > 57da6ae Set transition time initially on sequence statuses (# 6647)
  > 1048c6c Use `AddressStatus` instead of `Addressable` directly in broker status (# 6622)
  > 55537d4 Update debugging documentation and add details for VSCode (# 6613)
  > 613ddf8 Fixing broken links on development doc (# 6646)
  > 5d3371c Port Parallel e2e test to rekt (# 6640)
  > 661fd01 Adding WithAnnotations for the broker resource on rekt-testing (# 6645)
  > 1eb173b Removing deprecated and broken code for WithAnnotation (# 6637)
  > 0edabc7 [main] Update community files (# 6638)
  > e63b13c Configurable trace export limit for upgrade tests (# 6635)
  > 49e76ae Register schemas in webhooks too (# 6633)
  > c4da68a [main] Upgrade to latest dependencies (# 6632)
  > 1cb509b Fix PingSource adapter metrics (# 6615)
bumping knative.dev/client bad1ba3...df40f5a:
  > df40f5a upgrade to latest dependencies (# 1770)
  > 2a124bd upgrade to latest dependencies (# 1769)
  > 982711e [main] Upgrade to latest dependencies (# 1763)
  > b72e964 Update actions (# 1768)
  > bd8493f Update community files (# 1767)
  > 2593aa6 Update community files (# 1766)
  > d72eb54 Update community files (# 1764)

Signed-off-by: Knative Automation <automation@knative.team>
  • Loading branch information
knative-automation committed Jan 27, 2023
1 parent 5b799ab commit dbe54e4
Show file tree
Hide file tree
Showing 37 changed files with 605 additions and 230 deletions.
2 changes: 1 addition & 1 deletion build/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.18

require (
github.com/wavesoftware/go-magetasks v0.8.1
knative.dev/kn-plugin-event v0.34.1-0.20221118113540-a8d2cee6a9cf
knative.dev/kn-plugin-event v0.34.1-0.20221130170422-5b799ab83907
)

require (
Expand Down
2 changes: 1 addition & 1 deletion build/vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ k8s.io/klog/v2/internal/severity
k8s.io/utils/internal/third_party/forked/golang/net
k8s.io/utils/net
k8s.io/utils/strings/slices
# knative.dev/kn-plugin-event v0.34.1-0.20221118113540-a8d2cee6a9cf => ../
# knative.dev/kn-plugin-event v0.34.1-0.20221130170422-5b799ab83907 => ../
## explicit; go 1.18
knative.dev/kn-plugin-event/pkg/metadata
# sigs.k8s.io/kind v0.14.0
Expand Down
18 changes: 9 additions & 9 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module knative.dev/kn-plugin-event
go 1.18

require (
github.com/cloudevents/sdk-go/v2 v2.12.0
github.com/cloudevents/sdk-go/v2 v2.13.0
github.com/ghodss/yaml v1.0.0
github.com/google/go-containerregistry v0.11.0
github.com/google/uuid v1.3.0
Expand All @@ -21,12 +21,12 @@ require (
k8s.io/api v0.25.4
k8s.io/apimachinery v0.25.4
k8s.io/client-go v0.25.4
knative.dev/client v0.34.1-0.20221124095043-bad1ba305197
knative.dev/eventing v0.35.1-0.20221128072006-fb519df96fde
knative.dev/hack v0.0.0-20221122182941-c12c1bfbd6d2
knative.dev/pkg v0.0.0-20221123154742-05b694ec4d3a
knative.dev/reconciler-test v0.0.0-20221123133142-3efdfe891855
knative.dev/serving v0.35.1-0.20221130132615-1beadbd695a4
knative.dev/client v0.36.0
knative.dev/eventing v0.36.0
knative.dev/hack v0.0.0-20230113013652-c7cfcb062de9
knative.dev/pkg v0.0.0-20230117181655-247510c00e9d
knative.dev/reconciler-test v0.0.0-20230123181139-476a442e3644
knative.dev/serving v0.36.0
sigs.k8s.io/yaml v1.3.0
)

Expand All @@ -51,7 +51,7 @@ require (
github.com/census-instrumentation/opencensus-proto v0.3.0 // indirect
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/cloudevents/conformance v0.2.0 // indirect
github.com/cloudevents/sdk-go/sql/v2 v2.0.0-20220930150014-52b12276cc4a // indirect
github.com/cloudevents/sdk-go/sql/v2 v2.13.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/emicklei/go-restful/v3 v3.8.0 // indirect
github.com/evanphx/json-patch v5.6.0+incompatible // indirect
Expand Down Expand Up @@ -144,7 +144,7 @@ require (
k8s.io/klog/v2 v2.80.2-0.20221028030830-9ae4992afb54 // indirect
k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1 // indirect
k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2 // indirect
knative.dev/networking v0.0.0-20221123133043-c037e29a5cf4 // indirect
knative.dev/networking v0.0.0-20230123233838-db2bcbea2560 // indirect
sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect
sigs.k8s.io/kustomize/api v0.12.1 // indirect
sigs.k8s.io/kustomize/kyaml v0.13.9 // indirect
Expand Down
36 changes: 18 additions & 18 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,10 @@ github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMn
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
github.com/cloudevents/conformance v0.2.0 h1:NvSXOKlagcsOWMEbi8U7Ex/0oQ4JZE1HQ45bnxYf2zk=
github.com/cloudevents/conformance v0.2.0/go.mod h1:rHKDwylBH89Rns6U3wL9ww8bg9/4GbwRCDNuyoC6bcc=
github.com/cloudevents/sdk-go/sql/v2 v2.0.0-20220930150014-52b12276cc4a h1:jwFoLdIzNYc92s2ZwhU4yOdoPP8zoALcKOzenIALHJM=
github.com/cloudevents/sdk-go/sql/v2 v2.0.0-20220930150014-52b12276cc4a/go.mod h1:SPV4fdKh1YqSNn2TTUVqUcw1El9Er0HI/yzay5wqsFk=
github.com/cloudevents/sdk-go/v2 v2.12.0 h1:p1k+ysVOZtNiXfijnwB3WqZNA3y2cGOiKQygWkUHCEI=
github.com/cloudevents/sdk-go/v2 v2.12.0/go.mod h1:xDmKfzNjM8gBvjaF8ijFjM1VYOVUEeUfapHMUX1T5To=
github.com/cloudevents/sdk-go/sql/v2 v2.13.0 h1:gMJvQ3XFkygY9JmrusgK80d9yRAb8+J3X8IA1OC+oc0=
github.com/cloudevents/sdk-go/sql/v2 v2.13.0/go.mod h1:XZRQBCgRreddIpQrdjBJQUrRg3BCs3aikplJQkHrK44=
github.com/cloudevents/sdk-go/v2 v2.13.0 h1:2zxDS8RyY1/wVPULGGbdgniGXSzLaRJVl136fLXGsYw=
github.com/cloudevents/sdk-go/v2 v2.13.0/go.mod h1:xDmKfzNjM8gBvjaF8ijFjM1VYOVUEeUfapHMUX1T5To=
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
Expand Down Expand Up @@ -1190,20 +1190,20 @@ k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1 h1:MQ8BAZPZlWk3S9K4a9NCkI
k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1/go.mod h1:C/N6wCaBHeBHkHUesQOQy2/MZqGgMAFPqGsGQLdbZBU=
k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2 h1:GfD9OzL11kvZN5iArC6oTS7RTj7oJOIfnislxYlqTj8=
k8s.io/utils v0.0.0-20221108210102-8e77b1f39fe2/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
knative.dev/client v0.34.1-0.20221124095043-bad1ba305197 h1:5JDleHvsmKg4VQSum88LBqWNcrKmMlEvmlE7VKnIJJo=
knative.dev/client v0.34.1-0.20221124095043-bad1ba305197/go.mod h1:xypUw0dBwBzUo0ZcIdc4hou5YOebTgi5CkeO+0FHWIQ=
knative.dev/eventing v0.35.1-0.20221128072006-fb519df96fde h1:VJNNQI50MW31v7PC9i8zCrE38Uor/Job4Bh75qyXjzk=
knative.dev/eventing v0.35.1-0.20221128072006-fb519df96fde/go.mod h1:mrsi9uyA3E6l9NAwPPu6GLIk1zBmwBb0zen46QIJelo=
knative.dev/hack v0.0.0-20221122182941-c12c1bfbd6d2 h1:/1qij7gQhnVLVH6hI8HqMBYUhMGurGcbqnHXwOKbWgs=
knative.dev/hack v0.0.0-20221122182941-c12c1bfbd6d2/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q=
knative.dev/networking v0.0.0-20221123133043-c037e29a5cf4 h1:U5sh7aUCCev1tHcWPHlniBQVYbCBRXya75DfwJvd/3c=
knative.dev/networking v0.0.0-20221123133043-c037e29a5cf4/go.mod h1:DCcDFXdCCa1md7kTbmW7FDqyCRdCThMqBv3CQ+JO7kY=
knative.dev/pkg v0.0.0-20221123154742-05b694ec4d3a h1:mTDxXL+zRBMz7BcdM3WOgw9FVbmkIN/3cvEj4MeS8zI=
knative.dev/pkg v0.0.0-20221123154742-05b694ec4d3a/go.mod h1:fckNBPf9bu5/p1RbnOhEauX7r+kfN1zSQupEVtkaYBs=
knative.dev/reconciler-test v0.0.0-20221123133142-3efdfe891855 h1:wsPfvoKntz4dJT83Yrdlv6boBmThS4XTN5HOP+eyJEg=
knative.dev/reconciler-test v0.0.0-20221123133142-3efdfe891855/go.mod h1:SLxOh6FFeeu3PJOJ36DWvA6DXzURy5eEc+F+y41Rf/s=
knative.dev/serving v0.35.1-0.20221130132615-1beadbd695a4 h1:1KjftX2YB43Ilvta7/1k7xHy47144C3BEOV4G8dDgMY=
knative.dev/serving v0.35.1-0.20221130132615-1beadbd695a4/go.mod h1:CrLD+Rg65djuCzkf+phhXRdqRde6siZJ6roZUTuiKRY=
knative.dev/client v0.36.0 h1:oYg0MN66PEHU0444jX79cYi856o9Y2Rx+HE92FSJ6zk=
knative.dev/client v0.36.0/go.mod h1:40s6w3umxFvxqvqYgjNLdylP80NVSkUMmSgLQSkJsmw=
knative.dev/eventing v0.36.0 h1:a7kamc2S+LcpNMDX3llnwZm+DqMcYSXgKIgJXdaQQSY=
knative.dev/eventing v0.36.0/go.mod h1:Qka5Z6+LeMoHGL1QAznVdmq5LAu21b4F3rgxc2AMgRg=
knative.dev/hack v0.0.0-20230113013652-c7cfcb062de9 h1:CDa7s9KspEZqPhk7cN68ZypRLuAvSgr+knoOaXSsrHk=
knative.dev/hack v0.0.0-20230113013652-c7cfcb062de9/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q=
knative.dev/networking v0.0.0-20230123233838-db2bcbea2560 h1:iprdS5tKTXtgV9dGryuwJJJTTdl5LusCHOelKdezR3I=
knative.dev/networking v0.0.0-20230123233838-db2bcbea2560/go.mod h1:rn1yRurhkxmSFkpqs/YdG7b9DiYj0VlmLFzBdOQjpOo=
knative.dev/pkg v0.0.0-20230117181655-247510c00e9d h1:pjKDcvHoMib8nRp56eISRmMj/pFMzJljnzvMvGCIReI=
knative.dev/pkg v0.0.0-20230117181655-247510c00e9d/go.mod h1:VO/fcEsq43seuONRQxZyftWHjpMabYzRHDtpSEQ/eoQ=
knative.dev/reconciler-test v0.0.0-20230123181139-476a442e3644 h1:DvQeHJR8nPh6SC2lM13t83Sv+5xHn/QQmVjdXi5ORsY=
knative.dev/reconciler-test v0.0.0-20230123181139-476a442e3644/go.mod h1:ZPUBldkrSIOe0c57sDcnuM4bzQy16iTtvMV59nMPpfs=
knative.dev/serving v0.36.0 h1:RSYDjxhzOx5rnlW9tNPcBPyJyNuOcZuYEMdKDR1r04k=
knative.dev/serving v0.36.0/go.mod h1:ueqMvTqzZE0GFfPqSsc+ZjX20Z8XxCuX86+S+TI7B3A=
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=
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
Expand Down

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

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

4 changes: 2 additions & 2 deletions vendor/github.com/cloudevents/sdk-go/v2/alias.go

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

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

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

Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
"sync"

"knative.dev/pkg/apis"
v1 "knative.dev/pkg/apis/duck/v1"
)

const (
Expand Down Expand Up @@ -72,7 +73,12 @@ func (bs *BrokerStatus) GetTopLevelCondition() *apis.Condition {
// SetAddress makes this Broker addressable by setting the URI. It also
// sets the BrokerConditionAddressable to true.
func (bs *BrokerStatus) SetAddress(url *apis.URL) {
bs.Address.URL = url
bs.AddressStatus = v1.AddressStatus{
Address: &v1.Addressable{
URL: url,
},
}

if url != nil {
bs.GetConditionSet().Manage(bs).MarkTrue(BrokerConditionAddressable)
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ type BrokerStatus struct {
// * Conditions - the latest available observations of a resource's current state.
duckv1.Status `json:",inline"`

// Broker is Addressable. It exposes the endpoint as an URI to get events
// delivered into the Broker mesh.
// AddressStatus is the part where the Broker fulfills the Addressable contract.
// It exposes the endpoint as an URI to get events delivered into the Broker mesh.
// +optional
Address duckv1.Addressable `json:"address,omitempty"`
duckv1.AddressStatus `json:",inline"`

// DeliveryStatus contains a resolved URL to the dead letter sink address, and any other
// resolved delivery options.
Expand Down

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

Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ limitations under the License.
package v1

import (
"time"

corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime/schema"
eventingduckv1 "knative.dev/eventing/pkg/apis/duck/v1"
messagingv1 "knative.dev/eventing/pkg/apis/messaging/v1"
Expand Down Expand Up @@ -93,13 +96,20 @@ func (ss *SequenceStatus) PropagateSubscriptionStatuses(subscriptions []*messagi
Namespace: s.Namespace,
},
}
readyCondition := s.Status.GetCondition(messagingv1.SubscriptionConditionReady)
if readyCondition != nil {

if readyCondition := s.Status.GetCondition(messagingv1.SubscriptionConditionReady); readyCondition != nil {
ss.SubscriptionStatuses[i].ReadyCondition = *readyCondition
if readyCondition.Status != corev1.ConditionTrue {
if !readyCondition.IsTrue() {
allReady = false
}
} else {
ss.SubscriptionStatuses[i].ReadyCondition = apis.Condition{
Type: apis.ConditionReady,
Status: corev1.ConditionUnknown,
Reason: "NoReady",
Message: "Subscription does not have Ready condition",
LastTransitionTime: apis.VolatileTime{Inner: metav1.NewTime(time.Now())},
}
allReady = false
}

Expand Down Expand Up @@ -142,7 +152,13 @@ func (ss *SequenceStatus) PropagateChannelStatuses(channels []*eventingduckv1.Ch
allReady = false
}
} else {
ss.ChannelStatuses[i].ReadyCondition = apis.Condition{Type: apis.ConditionReady, Status: corev1.ConditionUnknown, Reason: "NoReady", Message: "Channel does not have Ready condition"}
ss.ChannelStatuses[i].ReadyCondition = apis.Condition{
Type: apis.ConditionReady,
Status: corev1.ConditionUnknown,
Reason: "NoReady",
Message: "Channel does not have Ready condition",
LastTransitionTime: apis.VolatileTime{Inner: metav1.NewTime(time.Now())},
}
allReady = false
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ type ApiServerSourceSpec struct {
// source. Defaults to default if not set.
// +optional
ServiceAccountName string `json:"serviceAccountName,omitempty"`

// NamespaceSelector is a label selector to capture the namespaces that
// should be watched by the source.
// +optional
NamespaceSelector *metav1.LabelSelector `json:"namespaceSelector,omitempty"`
}

// ApiServerSourceStatus defines the observed state of ApiServerSource
Expand All @@ -92,6 +97,9 @@ type ApiServerSourceStatus struct {
// * SinkURI - the current active sink URI that has been configured for the
// Source.
duckv1.SourceStatus `json:",inline"`

// Namespaces show the namespaces currently watched by the ApiServerSource
Namespaces []string `json:"namespaces"`
}

// APIVersionKind is an APIVersion and Kind tuple.
Expand Down

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

12 changes: 0 additions & 12 deletions vendor/knative.dev/hack/library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -586,17 +586,6 @@ function start_knative_eventing_extension() {
wait_until_pods_running "$2" || return 1
}

# Install the stable release of eventing extension sugar controller in the current cluster.
# Parameters: $1 - Knative Eventing release version, e.g. 0.16.0
function start_release_eventing_sugar_controller() {
start_knative_eventing_extension "https://storage.googleapis.com/knative-releases/eventing/previous/v$1/eventing-sugar-controller.yaml" "knative-eventing"
}

# Install the sugar cotroller eventing extension
function start_latest_eventing_sugar_controller() {
start_knative_eventing_extension "${KNATIVE_EVENTING_SUGAR_CONTROLLER_RELEASE}" "knative-eventing"
}

# Run a go utility without installing it.
# Parameters: $1 - tool package for go run.
# $2..$n - parameters passed to the tool.
Expand Down Expand Up @@ -1018,4 +1007,3 @@ readonly KNATIVE_SERVING_RELEASE_CRDS="$(get_latest_knative_yaml_source "serving
readonly KNATIVE_SERVING_RELEASE_CORE="$(get_latest_knative_yaml_source "serving" "serving-core")"
readonly KNATIVE_NET_ISTIO_RELEASE="$(get_latest_knative_yaml_source "net-istio" "net-istio")"
readonly KNATIVE_EVENTING_RELEASE="$(get_latest_knative_yaml_source "eventing" "eventing")"
readonly KNATIVE_EVENTING_SUGAR_CONTROLLER_RELEASE="$(get_latest_knative_yaml_source "eventing" "eventing-sugar-controller")"
4 changes: 4 additions & 0 deletions vendor/knative.dev/hack/presubmit-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,10 @@ function main() {
echo ">> maven version"
mvn --version
fi
if command -v cosign > /dev/null; then
echo ">> cosign version"
cosign version
fi
echo ">> prow-tests image version"
[[ -f /commit_hash ]] && echo "Prow test image was built from $(cat /commit_hash) commit which is viewable at https://github.com/knative/test-infra/tree/$(cat /commit_hash) " || echo "unknown"
fi
Expand Down
1 change: 1 addition & 0 deletions vendor/knative.dev/hack/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ function sign_release() {
if [ -n "${ATTEST_IMAGES:-}" ]; then # Temporary Feature Gate
provenance-generator --clone-log=/logs/clone.json \
--image-refs=imagerefs.txt --output=attestation.json
mkdir -p "${ARTIFACTS}"/attestation && cp attestation.json "${ARTIFACTS}"/attestation
COSIGN_EXPERIMENTAL=1 cosign attest $(cat imagerefs.txt) --recursive --identity-token="${ID_TOKEN}" \
--predicate=attestation.json --type=slsaprovenance
fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ type CertificateSpec struct {
// The wildcard format of DNSNames (e.g. *.default.example.com) is supported.
DNSNames []string `json:"dnsNames"`

// Domain is the top level domain of the values for DNSNames.
// +optional
Domain string `json:"domain,omitempty"`

// SecretName is the name of the secret resource to store the SSL certificate in.
SecretName string `json:"secretName"`
}
Expand Down

0 comments on commit dbe54e4

Please sign in to comment.