From 14f7214c122c93d1b63ce78ef6dfb2e48fcee943 Mon Sep 17 00:00:00 2001 From: Martin Jediny Date: Wed, 13 Nov 2024 14:31:26 +0100 Subject: [PATCH] fix(ISV-5130): fix undefined error Signed-off-by: Martin Jediny --- tests/release/pipelines/rh_push_to_redhat_io.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/release/pipelines/rh_push_to_redhat_io.go b/tests/release/pipelines/rh_push_to_redhat_io.go index 51a863466..5364c7433 100644 --- a/tests/release/pipelines/rh_push_to_redhat_io.go +++ b/tests/release/pipelines/rh_push_to_redhat_io.go @@ -68,13 +68,13 @@ var _ = framework.ReleasePipelinesSuiteDescribe("e2e tests for rh-push-to-redhat "key": constants.PYXIS_STAGE_KEY_ENV, "cert": constants.PYXIS_STAGE_CERT_ENV, } - createSecretFromEnv(managedFw, managedNamespace, "pyxis", pyxisFieldEnvMap) + releasecommon.CreateOpaqueSecret(managedFw, managedNamespace, "pyxis", pyxisFieldEnvMap) atlasFieldEnvMap := map[string]string{ "sso_account": constants.ATLAS_STAGE_ACCOUNT_ENV, "sso_token": constants.ATLAS_STAGE_TOKEN_ENV, } - createSecretFromEnv(managedFw, managedNamespace, "atlas", atlasFieldEnvMap) + releasecommon.CreateOpaqueSecret(managedFw, managedNamespace, "atlas", atlasFieldEnvMap) err = managedFw.AsKubeAdmin.CommonController.LinkSecretToServiceAccount(managedNamespace, releasecommon.RedhatAppstudioUserSecret, constants.DefaultPipelineServiceAccount, true) Expect(err).ToNot(HaveOccurred())