We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 053350a commit 95d5c52Copy full SHA for 95d5c52
playbooks/robusta_playbooks/krr.py
@@ -295,7 +295,8 @@ def krr_scan(event: ExecutionBaseEvent, params: KRRParams):
295
env_var: List[EnvVar] = []
296
secret: Optional[JobSecret] = None
297
298
- if IS_OPENSHIFT:
+ if IS_OPENSHIFT and params.prometheus_auth is None:
299
+ # if openshift, and the user didn't define auth header, use openshift token
300
python_command += " --openshift"
301
else:
302
# adding env var of auth token from Secret
0 commit comments