Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ROSA HCP] test_db_scc correct service acc namespace #11074

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,9 @@ def teardown(self, request):
# Teardown function to revert back the scc changes made
def finalizer():
scc_name = constants.NOOBAA_DB_SERVICE_ACCOUNT_NAME
service_account = constants.NOOBAA_DB_SERVICE_ACCOUNT
service_account = constants.NOOBAA_DB_SERVICE_ACCOUNT.replace(
"openshift-storage", config.ENV_DATA["cluster_namespace"]
)
pod_obj = pod.Pod(
**pod.get_pods_having_label(
label=self.labels_map["noobaa_db"],
Expand Down Expand Up @@ -238,7 +240,9 @@ def test_db_scc(self, teardown):

"""
scc_name = constants.NOOBAA_DB_SERVICE_ACCOUNT_NAME
service_account = constants.NOOBAA_DB_SERVICE_ACCOUNT
service_account = constants.NOOBAA_DB_SERVICE_ACCOUNT.replace(
"openshift-storage", config.ENV_DATA["cluster_namespace"]
)
pod_obj = pod.Pod(
**pod.get_pods_having_label(
label=self.labels_map["noobaa_db"],
Expand Down
Loading