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 The Foreman Bot 9 months ago
- Status changed from New to Ready For Testing
- Assignee set to Partha Aji
- Pull request https://github.com/Katello/katello/pull/10902 added
Updated by Partha Aji 5 months ago
- Target version changed from Katello 4.13.0 to Katello 4.14.0
Updated by Partha Aji 4 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|8ab0088491af471d8a161e26176c5f1a79dca68c.
Actions