Skip to content

Commit e90bbc8

Browse files
committed
chore: update vendor
1 parent 19c96ce commit e90bbc8

File tree

166 files changed

+1233
-15435
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+1233
-15435
lines changed

config/200-serviceaccount.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ metadata:
1111
apiVersion: v1
1212
kind: ServiceAccount
1313
metadata:
14-
name: sample-source-webhook
14+
name: samplesource-webhook
1515
namespace: knative-samples
1616
labels:
1717
sources.eventing.zeiss.com: devel

config/202-clusterrolebinding.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ subjects:
3232
apiVersion: rbac.authorization.k8s.io/v1
3333
kind: ClusterRoleBinding
3434
metadata:
35-
name: sample-source-webhook-rolebinding
35+
name: samplesource-webhook-rolebinding
3636
labels:
3737
sources.eventing.zeiss.com/release: devel
3838
roleRef:
3939
apiGroup: rbac.authorization.k8s.io
4040
kind: ClusterRole
41-
name: sample-source-webhook
41+
name: samplesource-webhook
4242
subjects:
4343
- kind: ServiceAccount
44-
name: sample-source-webhook
44+
name: samplesource-webhook
4545
namespace: knative-samples
4646

4747
---

config/203-webhook-clusterrole.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: rbac.authorization.k8s.io/v1
22
kind: ClusterRole
33
metadata:
4-
name: sample-source-webhook
4+
name: samplesource-webhook
55
labels:
66
sources.eventing.zeiss.com/release: devel
77
rules:
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,50 @@
11
apiVersion: admissionregistration.k8s.io/v1
22
kind: MutatingWebhookConfiguration
33
metadata:
4-
name: defaulting.webhook.sources.eventing.zeiss.com
4+
name: defaulting.webhook.sample.sources.eventing.zeiss.com
55
labels:
66
sources.eventing.zeiss.com/release: devel
77
webhooks:
88
- admissionReviewVersions: ["v1", "v1beta1"]
99
clientConfig:
1010
service:
11-
name: sample-source-webhook
11+
name: samplesource-webhook
1212
namespace: knative-samples
1313
sideEffects: None
1414
failurePolicy: Fail
15-
name: defaulting.webhook.sources.eventing.zeiss.com
15+
name: defaulting.webhook.sample.sources.eventing.zeiss.com
1616
---
1717
apiVersion: admissionregistration.k8s.io/v1
1818
kind: ValidatingWebhookConfiguration
1919
metadata:
20-
name: validation.webhook.sources.eventing.zeiss.com
20+
name: validation.webhook.sample.sources.eventing.zeiss.com
2121
labels:
2222
sources.eventing.zeiss.com/release: devel
2323
webhooks:
2424
- admissionReviewVersions: ["v1", "v1beta1"]
2525
clientConfig:
2626
service:
27-
name: sample-source-webhook
27+
name: samplesource-webhook
2828
namespace: knative-samples
2929
sideEffects: None
3030
failurePolicy: Fail
31-
name: validation.webhook.sources.eventing.zeiss.com
31+
name: validation.webhook.sample.sources.eventing.zeiss.com
3232
---
3333
apiVersion: admissionregistration.k8s.io/v1
3434
kind: ValidatingWebhookConfiguration
3535
metadata:
36-
name: config.webhook.sources.eventing.zeiss.com
36+
name: config.webhook.sample.sources.eventing.zeiss.com
3737
labels:
3838
sources.eventing.zeiss.com/release: devel
3939
webhooks:
4040
- admissionReviewVersions: ["v1", "v1beta1"]
4141
clientConfig:
4242
service:
43-
name: sample-source-webhook
43+
name: samplesource-webhook
4444
namespace: knative-samples
4545
sideEffects: None
4646
failurePolicy: Fail
47-
name: config.webhook.sources.eventing.zeiss.com
47+
name: config.webhook.sample.sources.eventing.zeiss.com
4848
namespaceSelector:
4949
matchExpressions:
5050
- key: sources.eventing.zeiss.com/release
@@ -53,7 +53,7 @@ webhooks:
5353
apiVersion: v1
5454
kind: Secret
5555
metadata:
56-
name: webhook-certs
56+
name: sample-webhook-certs
5757
namespace: knative-samples
5858
labels:
5959
sources.eventing.zeiss.com/release: devel

config/500-webhook.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
apiVersion: apps/v1
22
kind: Deployment
33
metadata:
4-
name: sample-source-webhook
4+
name: samplesource-webhook
55
namespace: knative-samples
66
labels:
77
sources.eventing.zeiss.com/release: devel
88
spec:
99
replicas: 1
1010
selector:
1111
matchLabels: &labels
12-
app: sample-source-webhook
13-
role: sample-source-webhook
12+
app: samplesource-webhook
13+
role: samplesource-webhook
1414
template:
1515
metadata:
1616
labels: *labels
@@ -22,11 +22,11 @@ spec:
2222
- podAffinityTerm:
2323
labelSelector:
2424
matchLabels:
25-
app: sample-source-webhook
25+
app: samplesource-webhook
2626
topologyKey: kubernetes.io/hostname
2727
weight: 100
2828

29-
serviceAccountName: sample-source-webhook
29+
serviceAccountName: samplesource-webhook
3030
containers:
3131
- name: samplesource-webhook
3232
terminationMessagePolicy: FallbackToLogsOnError
@@ -66,13 +66,13 @@ kind: Service
6666
metadata:
6767
labels:
6868
sources.eventing.zeiss.com/release: devel
69-
role: sample-source-webhook
70-
name: sample-source-webhook
69+
role: samplesource-webhook
70+
name: samplesource-webhook
7171
namespace: knative-samples
7272
spec:
7373
ports:
7474
- name: https-webhook
7575
port: 443
7676
targetPort: 8443
7777
selector:
78-
role: sample-source-webhook
78+
role: samplesource-webhook

go.mod

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,11 @@ require (
66
github.com/cloudevents/sdk-go/v2 v2.15.2
77
github.com/golangci/golangci-lint v1.64.5
88
github.com/google/go-cmp v0.6.0
9-
github.com/google/go-github/v31 v31.0.0
109
github.com/google/ko v0.17.1
1110
github.com/goreleaser/goreleaser/v2 v2.7.0
1211
github.com/kelseyhightower/envconfig v1.4.0
1312
github.com/stretchr/testify v1.10.0
1413
go.uber.org/zap v1.27.0
15-
golang.org/x/oauth2 v0.26.0
16-
gopkg.in/go-playground/webhooks.v5 v5.13.0
1714
gotest.tools/gotestsum v1.12.0
1815
k8s.io/api v0.32.2
1916
k8s.io/apimachinery v0.32.2
@@ -257,6 +254,7 @@ require (
257254
github.com/golangci/unconvert v0.0.0-20240309020433-c5143eacb3ed // indirect
258255
github.com/google/gnostic-models v0.6.9 // indirect
259256
github.com/google/go-containerregistry v0.20.3 // indirect
257+
github.com/google/go-github/v31 v31.0.0 // indirect
260258
github.com/google/go-github/v69 v69.0.0 // indirect
261259
github.com/google/go-querystring v1.1.0 // indirect
262260
github.com/google/gofuzz v1.2.0 // indirect
@@ -489,6 +487,7 @@ require (
489487
golang.org/x/exp/typeparams v0.0.0-20250210185358-939b2ce775ac // indirect
490488
golang.org/x/mod v0.23.0 // indirect
491489
golang.org/x/net v0.35.0 // indirect
490+
golang.org/x/oauth2 v0.26.0 // indirect
492491
golang.org/x/sync v0.11.0 // indirect
493492
golang.org/x/sys v0.30.0 // indirect
494493
golang.org/x/term v0.29.0 // indirect

go.sum

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1892,8 +1892,6 @@ gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
18921892
gopkg.in/evanphx/json-patch.v4 v4.12.0 h1:n6jtcsulIzXPJaxegRbvFNNrZDjbij7ny3gmSPG+6V4=
18931893
gopkg.in/evanphx/json-patch.v4 v4.12.0/go.mod h1:p8EYWUEYMpynmqDbY58zCKCFZw8pRWMG4EsWvDvM72M=
18941894
gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys=
1895-
gopkg.in/go-playground/webhooks.v5 v5.13.0 h1:e9vtkQZK464+UdL3YjRox2yR8JSmh2094PUBMvdriFs=
1896-
gopkg.in/go-playground/webhooks.v5 v5.13.0/go.mod h1:LZbya/qLVdbqDR1aKrGuWV6qbia2zCYSR5dpom2SInQ=
18971895
gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc=
18981896
gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
18991897
gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA=

pkg/reconciler/sample/controller.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package sample
33
import (
44
"context"
55

6-
reconcilersource "github.com/zeiss/knative-extension-sample-source/pkg/reconciler"
6+
reconcilersource "knative.dev/eventing/pkg/reconciler/source"
77

88
"github.com/zeiss/knative-extension-sample-source/pkg/apis/sources/v1alpha1"
99

@@ -35,7 +35,7 @@ func NewController(
3535
r := &Reconciler{
3636
dr: &reconciler.DeploymentReconciler{KubeClientSet: kubeclient.Get(ctx)},
3737
// Config accessor takes care of tracing/config/logging config propagation to the receive adapter
38-
configAccessor: reconcilersource.WatchConfigurations(ctx, "sample-source", cmw),
38+
configAccessor: reconcilersource.WatchConfigurations(ctx, "samplesources", cmw),
3939
}
4040
if err := envconfig.Process("", r); err != nil {
4141
logging.FromContext(ctx).Panicf("required environment variable is not defined: %v", err)

samples/samplesource.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apiVersion: sources.knative.dev/v1alpha1
1+
apiVersion: sources.eventing.zeiss.com/v1alpha1
22
kind: SampleSource
33
metadata:
44
name: samplesource-sample

vendor/cel.dev/expr/BUILD.bazel

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
load("@io_bazel_rules_go//go:def.bzl", "go_library")
2+
3+
package(default_visibility = ["//visibility:public"])
4+
5+
licenses(["notice"]) # Apache 2.0
6+
7+
go_library(
8+
name = "expr",
9+
srcs = [
10+
"checked.pb.go",
11+
"eval.pb.go",
12+
"explain.pb.go",
13+
"syntax.pb.go",
14+
"value.pb.go",
15+
],
16+
importpath = "cel.dev/expr",
17+
visibility = ["//visibility:public"],
18+
deps = [
19+
"@org_golang_google_genproto_googleapis_rpc//status:go_default_library",
20+
"@org_golang_google_protobuf//reflect/protoreflect",
21+
"@org_golang_google_protobuf//runtime/protoimpl",
22+
"@org_golang_google_protobuf//types/known/anypb",
23+
"@org_golang_google_protobuf//types/known/durationpb",
24+
"@org_golang_google_protobuf//types/known/emptypb",
25+
"@org_golang_google_protobuf//types/known/structpb",
26+
"@org_golang_google_protobuf//types/known/timestamppb",
27+
],
28+
)
29+
30+
alias(
31+
name = "go_default_library",
32+
actual = ":expr",
33+
visibility = ["//visibility:public"],
34+
)

0 commit comments

Comments
 (0)