Actions
Refactor #37194
closedUpdate Hard Coded rhsm url to use an env setting
Pull request:
Fixed in Releases:
Found in Releases:
Description
https://github.com/Katello/katello/blob/master/app/lib/katello/resources/candlepin/upstream_job.rb#L7 hard codes the rhsm url. This makes it impossible to run this operation in a stage environment without changing the url in this file.
Better alternative will be something along having an env variable like RHSM_REDHAT_API_URL. The user then set its value the service file similar to
# cat /etc/systemd/system/foreman.service.d/override.conf [Service] Environment=RHSM_REDHAT_API_URL=https://<stage rhsm>/subscription
and the default being the present default.
RH Cloud has a similar strategy to help with the qe env
Updated by Samir Jha about 1 year ago
- Tracker changed from Support to Refactor
- Target version set to Katello 4.13.0
- Triaged changed from No to Yes
Updated by The Foreman Bot about 1 year ago
- Status changed from New to Ready For Testing
- Assignee set to Partha Aji
- Pull request https://github.com/Katello/katello/pull/10902 added
Actions