This is an automated email from the ASF dual-hosted git repository.
nferraro pushed a commit to branch release-1.1.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/release-1.1.x by this push:
new 44c0000 Fix #1636: use messaging/v1beta1 for Knative subscription
44c0000 is described below
commit 44c00002f2bc2ccf9fd828b2a39836e614e650b0
Author: nicolaferraro <[email protected]>
AuthorDate: Thu Aug 20 16:38:11 2020 +0200
Fix #1636: use messaging/v1beta1 for Knative subscription
---
examples/knative/messages-channel.yaml | 2 +-
examples/knative/words-channel.yaml | 2 +-
pkg/util/knative/knative.go | 2 +-
script/Makefile | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/examples/knative/messages-channel.yaml
b/examples/knative/messages-channel.yaml
index fe44738..abd3483 100644
--- a/examples/knative/messages-channel.yaml
+++ b/examples/knative/messages-channel.yaml
@@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------
-apiVersion: messaging.knative.dev/v1alpha1
+apiVersion: messaging.knative.dev/v1beta1
kind: InMemoryChannel
metadata:
name: messages
diff --git a/examples/knative/words-channel.yaml
b/examples/knative/words-channel.yaml
index 94e0ec1..33e5004 100644
--- a/examples/knative/words-channel.yaml
+++ b/examples/knative/words-channel.yaml
@@ -15,7 +15,7 @@
# limitations under the License.
# ---------------------------------------------------------------------------
-apiVersion: messaging.knative.dev/v1alpha1
+apiVersion: messaging.knative.dev/v1beta1
kind: InMemoryChannel
metadata:
name: words
diff --git a/pkg/util/knative/knative.go b/pkg/util/knative/knative.go
index e39eb54..27b2ec2 100644
--- a/pkg/util/knative/knative.go
+++ b/pkg/util/knative/knative.go
@@ -31,7 +31,7 @@ import (
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
eventing "knative.dev/eventing/pkg/apis/eventing/v1alpha1"
- messaging "knative.dev/eventing/pkg/apis/messaging/v1alpha1"
+ messaging "knative.dev/eventing/pkg/apis/messaging/v1beta1"
"knative.dev/pkg/apis/duck"
duckv1 "knative.dev/pkg/apis/duck/v1"
serving "knative.dev/serving/pkg/apis/serving/v1"
diff --git a/script/Makefile b/script/Makefile
index 217c50b..9bae493 100644
--- a/script/Makefile
+++ b/script/Makefile
@@ -30,7 +30,7 @@ LINT_DEADLINE := 10m
# Used to push pre-release artifacts
STAGING_IMAGE_NAME := docker.io/camelk/camel-k
-STAGING_RUNTIME_REPO :=
https://repository.apache.org/content/repositories/orgapachecamel-1235
+STAGING_RUNTIME_REPO :=
# When packaging artifacts into the docker image, you can "copy" them from
local maven
# or "download" them from Apache Snapshots and Maven Central