Skip to content

Commit

Permalink
Adding a patch for permanent usage of quay.io to avoid any potential …
Browse files Browse the repository at this point in the history
…issues w/ dockerhub... (#427)

Signed-off-by: Matthias Wessendorf <mwessend@redhat.com>
  • Loading branch information
matzew authored Nov 9, 2021
1 parent 05230a6 commit eeccf95
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions openshift/patches/001_quay_kafkacat_replace.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
diff --git a/test/e2e/helpers/kafka_helper.go b/test/e2e/helpers/kafka_helper.go
index 71c29179a..f0b89cd1a 100644
--- a/test/e2e/helpers/kafka_helper.go
+++ b/test/e2e/helpers/kafka_helper.go
@@ -47,7 +47,7 @@ const (
strimziTopicResource = "kafkatopics"
interval = 3 * time.Second
timeout = 30 * time.Second
- kafkaCatImage = "docker.io/edenhill/kafkacat:1.6.0"
+ kafkaCatImage = "quay.io/openshift-knative/kafkacat:1.6.0"
)

var (
diff --git a/test/rekt/resources/kafkacat/kafkacat.yaml b/test/rekt/resources/kafkacat/kafkacat.yaml
index d441bca4e..3f7bdb39f 100644
--- a/test/rekt/resources/kafkacat/kafkacat.yaml
+++ b/test/rekt/resources/kafkacat/kafkacat.yaml
@@ -19,7 +19,7 @@ metadata:
namespace: {{ .namespace }}
spec:
containers:
- - image: docker.io/edenhill/kafkacat:1.6.0
+ - image: quay.io/openshift-knative/kafkacat:1.6.0
name: producer-container
command:
- kafkacat
diff --git a/test/rekt/resources/kafkacat/kafkacat_test.go b/test/rekt/resources/kafkacat/kafkacat_test.go
index 20b12bfc1..7c1a11ae0 100644
--- a/test/rekt/resources/kafkacat/kafkacat_test.go
+++ b/test/rekt/resources/kafkacat/kafkacat_test.go
@@ -51,7 +51,7 @@ func Example_min() {
// namespace: bar
// spec:
// containers:
- // - image: docker.io/edenhill/kafkacat:1.6.0
+ // - image: quay.io/openshift-knative/kafkacat:1.6.0
// name: producer-container
// command:
// - kafkacat
@@ -109,7 +109,7 @@ func Example_full() {
// namespace: bar
// spec:
// containers:
- // - image: docker.io/edenhill/kafkacat:1.6.0
+ // - image: quay.io/openshift-knative/kafkacat:1.6.0
// name: producer-container
// command:
// - kafkacat

0 comments on commit eeccf95

Please sign in to comment.