Skip to content

Support BENCHMARK_OPERATOR_NAMESPACE for OpenShift/release CI#1184

Merged
ebattat merged 1 commit intomainfrom
ci-benchmark-operator-namespace-env
Mar 2, 2026
Merged

Support BENCHMARK_OPERATOR_NAMESPACE for OpenShift/release CI#1184
ebattat merged 1 commit intomainfrom
ci-benchmark-operator-namespace-env

Conversation

@arpsharm
Copy link
Copy Markdown
Collaborator

@arpsharm arpsharm commented Mar 2, 2026

Type of change

Note: Fill x in []

  • bug
  • enhancement
  • documentation
  • dependencies

Description

Add support for BENCHMARK_OPERATOR_NAMESPACE. When set, the app uses it for the workload/operator namespace and no longer relies on NAMESPACE for that. The CI framework can keep using NAMESPACE as the job namespace for the result secret, avoiding the “cannot update secret in namespace benchmark-operator” error. Workloads still run in benchmark-operator on the test cluster. Release repo will set BENCHMARK_OPERATOR_NAMESPACE=benchmark-operator and drop NAMESPACE from the step ref after this is merged.

When set, use BENCHMARK_OPERATOR_NAMESPACE for workload/operator namespace
so CI can leave NAMESPACE as the job namespace for the result secret.
Fixes permission error: framework cannot write secret in benchmark-operator
on the build cluster.
@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Mar 2, 2026

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@ebattat ebattat requested a review from RobertKrawitz March 2, 2026 17:15
@github-project-automation github-project-automation bot moved this to In progress in benchmark-runner Mar 2, 2026
@ebattat ebattat self-requested a review March 2, 2026 17:32
@arpsharm arpsharm marked this pull request as ready for review March 2, 2026 17:34
Copy link
Copy Markdown
Member

@ebattat ebattat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Mar 2, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: arpsharm, ebattat, RobertKrawitz

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [RobertKrawitz,ebattat]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ebattat ebattat merged commit 7c8f519 into main Mar 2, 2026
12 of 13 checks passed
@ebattat ebattat deleted the ci-benchmark-operator-namespace-env branch March 2, 2026 20:25
@github-project-automation github-project-automation bot moved this from In progress to Done in benchmark-runner Mar 2, 2026
@arpsharm arpsharm restored the ci-benchmark-operator-namespace-env branch March 3, 2026 02:05
@arpsharm arpsharm deleted the ci-benchmark-operator-namespace-env branch March 3, 2026 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants