From 5ec610547698a333c844b3398a768462619778d1 Mon Sep 17 00:00:00 2001 From: Camila Macedo <7708031+camilamacedo86@users.noreply.github.com> Date: Thu, 12 Dec 2024 18:00:38 +0000 Subject: [PATCH] remove reference of kube-rbac-proxy from mocks and tests It seems that we do not need its usage and we can easily remove to avoid our tests stop to work at any moment since this image is deprecate and will no longer be available --- fbc-dir/file-based-catalog/operator.yaml | 2 -- pkg/server/server_test.go | 12 ------------ 2 files changed, 14 deletions(-) diff --git a/fbc-dir/file-based-catalog/operator.yaml b/fbc-dir/file-based-catalog/operator.yaml index a51493479..184318d04 100644 --- a/fbc-dir/file-based-catalog/operator.yaml +++ b/fbc-dir/file-based-catalog/operator.yaml @@ -31,8 +31,6 @@ properties: value: data: eyJhcGlWZXJzaW9uIjoiYXBpZXh0ZW5zaW9ucy5rOHMuaW8vdjFiZXRhMSIsImtpbmQiOiJDdXN0b21SZXNvdXJjZURlZmluaXRpb24iLCJtZXRhZGF0YSI6eyJhbm5vdGF0aW9ucyI6eyJjb250cm9sbGVyLWdlbi5rdWJlYnVpbGRlci5pby92ZXJzaW9uIjoidjAuMy4wIn0sImNyZWF0aW9uVGltZXN0YW1wIjpudWxsLCJuYW1lIjoid2ViaG9va3Rlc3RzLndlYmhvb2sub3BlcmF0b3JzLmNvcmVvcy5pbyJ9LCJzcGVjIjp7Imdyb3VwIjoid2ViaG9vay5vcGVyYXRvcnMuY29yZW9zLmlvIiwibmFtZXMiOnsia2luZCI6IldlYmhvb2tUZXN0IiwibGlzdEtpbmQiOiJXZWJob29rVGVzdExpc3QiLCJwbHVyYWwiOiJ3ZWJob29rdGVzdHMiLCJzaW5ndWxhciI6IndlYmhvb2t0ZXN0In0sInByZXNlcnZlVW5rbm93bkZpZWxkcyI6ZmFsc2UsInNjb3BlIjoiTmFtZXNwYWNlZCIsInZlcnNpb24iOiJ2MSIsInZlcnNpb25zIjpbeyJuYW1lIjoidjEiLCJzY2hlbWEiOnsib3BlbkFQSVYzU2NoZW1hIjp7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ldCB0byB0cnVlIGJ5IHRoZSBtdXRhdGluZyB3ZWJob29rLiIsInR5cGUiOiJib29sZWFuIn0sInZhbGlkIjp7ImRlc2NyaXB0aW9uIjoiVmFsaWQgbXVzdCBiZSBzZXQgdG8gdHJ1ZSBvciB0aGUgdmFsaWRhdGlvbiB3ZWJob29rIHdpbGwgcmVqZWN0IHRoZSByZXNvdXJjZS4iLCJ0eXBlIjoiYm9vbGVhbiJ9fSwicmVxdWlyZWQiOlsidmFsaWQiXSwidHlwZSI6Im9iamVjdCJ9fSwicmVxdWlyZWQiOlsiY29udmVyc2lvbiJdLCJ0eXBlIjoib2JqZWN0In0sInN0YXR1cyI6eyJkZXNjcmlwdGlvbiI6IldlYmhvb2tUZXN0U3RhdHVzIGRlZmluZXMgdGhlIG9ic2VydmVkIHN0YXRlIG9mIFdlYmhvb2tUZXN0IiwidHlwZSI6Im9iamVjdCJ9fSwidHlwZSI6Im9iamVjdCJ9fSwic2VydmVkIjp0cnVlLCJzdG9yYWdlIjpmYWxzZX1dfSwic3RhdHVzIjp7ImFjY2VwdGVkTmFtZXMiOnsia2luZCI6IiIsInBsdXJhbCI6IiJ9LCJjb25kaXRpb25zIjpbXSwic3RvcmVkVmVyc2lvbnMiOltdfX0= relatedImages: -- image: gcr.io/kubebuilder/kube-rbac-proxy:v0.5.0 - name: "" - image: quay.io/olmtest/webhook-operator-bundle:0.0.3 name: "" - image: quay.io/olmtest/webhook-operator:0.0.3 diff --git a/pkg/server/server_test.go b/pkg/server/server_test.go index a5ae864fa..1fd4d4745 100644 --- a/pkg/server/server_test.go +++ b/pkg/server/server_test.go @@ -961,10 +961,6 @@ var ( } ], "relatedImages": [ - { - "image": "gcr.io/kubebuilder/kube-rbac-proxy:v0.5.0", - "name": "" - }, { "image": "quay.io/helmoperators/cockroachdb:v5.0.3", "name": "" @@ -998,10 +994,6 @@ var ( } ], "relatedImages": [ - { - "image": "gcr.io/kubebuilder/kube-rbac-proxy:v0.5.0", - "name": "" - }, { "image": "quay.io/helmoperators/cockroachdb:v5.0.4", "name": "" @@ -1035,10 +1027,6 @@ var ( } ], "relatedImages": [ - { - "image": "gcr.io/kubebuilder/kube-rbac-proxy:v0.5.0", - "name": "" - }, { "image": "quay.io/cockroachdb/cockroach-helm-operator:6.0.0", "name": ""