Skip to content

Commit

Permalink
Exclude core deployments from SinkBinding webhook injection (#7986)
Browse files Browse the repository at this point in the history
Exclude core deployments from webhook injection

Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
  • Loading branch information
pierDipi authored Jun 10, 2024
1 parent 8c4cd2e commit 3af0fac
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ metadata:
app.kubernetes.io/component: broker-filter
app.kubernetes.io/version: devel
app.kubernetes.io/name: knative-eventing
bindings.knative.dev/exclude: "true"
spec:
selector:
matchLabels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ metadata:
app.kubernetes.io/component: broker-ingress
app.kubernetes.io/version: devel
app.kubernetes.io/name: knative-eventing
bindings.knative.dev/exclude: "true"
spec:
selector:
matchLabels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ metadata:
app.kubernetes.io/component: mt-broker-controller
app.kubernetes.io/version: devel
app.kubernetes.io/name: knative-eventing
bindings.knative.dev/exclude: "true"
spec:
selector:
matchLabels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ metadata:
app.kubernetes.io/component: imc-controller
app.kubernetes.io/version: devel
app.kubernetes.io/name: knative-eventing
bindings.knative.dev/exclude: "true"
spec:
selector:
matchLabels:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ metadata:
app.kubernetes.io/component: imc-dispatcher
app.kubernetes.io/version: devel
app.kubernetes.io/name: knative-eventing
bindings.knative.dev/exclude: "true"
spec:
selector:
matchLabels:
Expand Down
1 change: 1 addition & 0 deletions config/core/deployments/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ metadata:
app.kubernetes.io/component: eventing-controller
app.kubernetes.io/version: devel
app.kubernetes.io/name: knative-eventing
bindings.knative.dev/exclude: "true"
spec:
selector:
matchLabels:
Expand Down
1 change: 1 addition & 0 deletions config/core/deployments/pingsource-mt-adapter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ metadata:
app.kubernetes.io/component: pingsource-mt-adapter
app.kubernetes.io/version: devel
app.kubernetes.io/name: knative-eventing
bindings.knative.dev/exclude: "true"
spec:
# when set to 0 (and only 0) will be set to 1 when the first PingSource is created.
replicas: 0
Expand Down
1 change: 1 addition & 0 deletions config/core/deployments/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ metadata:
app.kubernetes.io/component: eventing-webhook
app.kubernetes.io/version: devel
app.kubernetes.io/name: knative-eventing
bindings.knative.dev/exclude: "true"
spec:
selector:
matchLabels:
Expand Down

0 comments on commit 3af0fac

Please sign in to comment.