Skip to content

Commit

Permalink
fix(ISV-5130): fix undefined error
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Jediny <[email protected]>
  • Loading branch information
jedinym committed Nov 13, 2024
1 parent 4616e8d commit 14f7214
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/release/pipelines/rh_push_to_redhat_io.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 14f7214

Please sign in to comment.