Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

[main] Upgrade to latest dependencies #667

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
k8s.io/apimachinery v0.28.5
k8s.io/client-go v0.28.5
knative.dev/hack v0.0.0-20240214131420-999d7e6b8495
knative.dev/networking v0.0.0-20240219132733-64e6032f8c5f
knative.dev/networking v0.0.0-20240220074405-630e71a2dbc7
knative.dev/pkg v0.0.0-20240219120257-9227ebb57a4e
)

Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -686,8 +686,8 @@ k8s.io/utils v0.0.0-20230726121419-3b25d923346b h1:sgn3ZU783SCgtaSJjpcVVlRqd6GSn
k8s.io/utils v0.0.0-20230726121419-3b25d923346b/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
knative.dev/hack v0.0.0-20240214131420-999d7e6b8495 h1:Eh+3WsTecxutSwtpzU4Py1dNCcToxgqRDLSLjBKfdEE=
knative.dev/hack v0.0.0-20240214131420-999d7e6b8495/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q=
knative.dev/networking v0.0.0-20240219132733-64e6032f8c5f h1:+xCy2Fh51GvUkxq6GEzfn4rw4Ze3iBvRJy3wz1o7z04=
knative.dev/networking v0.0.0-20240219132733-64e6032f8c5f/go.mod h1:0YAh9IQGmZ+ZTu4hJhuxi/W/Oord8lSP8EoUUEi/dKU=
knative.dev/networking v0.0.0-20240220074405-630e71a2dbc7 h1:biW6nixq/CnWJdI2SwRr5b3S9pXtQx1z9Oxzh5zsstQ=
knative.dev/networking v0.0.0-20240220074405-630e71a2dbc7/go.mod h1:0YAh9IQGmZ+ZTu4hJhuxi/W/Oord8lSP8EoUUEi/dKU=
knative.dev/pkg v0.0.0-20240219120257-9227ebb57a4e h1:TD0WhK+DDFqcDrxukIUZWYwy1140eQzCYNinHZZZhHs=
knative.dev/pkg v0.0.0-20240219120257-9227ebb57a4e/go.mod h1:nCYpiIXemsTvpmuVNfJEAXcSXTGSduE2uwU0HH4BvUI=
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,14 @@ func (c *Certificate) IsReady() bool {
cs.GetCondition(CertificateConditionReady).IsTrue()
}

// IsFailed returns true is the Certificate ready is false
// and the Certificate resource has been observed.
func (c *Certificate) IsFailed() bool {
cs := c.Status
return cs.ObservedGeneration == c.Generation &&
cs.GetCondition(CertificateConditionReady).IsFalse()
}

// GetCondition gets a specific condition of the Certificate status.
func (cs *CertificateStatus) GetCondition(t apis.ConditionType) *apis.Condition {
return certificateCondSet.Manage(cs).GetCondition(t)
Expand Down
2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@ k8s.io/utils/trace
# knative.dev/hack v0.0.0-20240214131420-999d7e6b8495
## explicit; go 1.18
knative.dev/hack
# knative.dev/networking v0.0.0-20240219132733-64e6032f8c5f
# knative.dev/networking v0.0.0-20240220074405-630e71a2dbc7
## explicit; go 1.18
knative.dev/networking/config
knative.dev/networking/pkg/apis/networking
Expand Down
Loading