curl: fix RHSM url retrieval
This commit is contained in:
parent
62e1570ef9
commit
7e0e30fd8f
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ class CurlSource(sources.SourceService):
|
|||
# rhsm secrets only need to be retrieved once and can then be reused
|
||||
if self.subscriptions is None:
|
||||
self.subscriptions = Subscriptions.from_host_system()
|
||||
desc["secrets"] = self.subscriptions.get_secrets(desc.get("desc"))
|
||||
desc["secrets"] = self.subscriptions.get_secrets(desc.get("url"))
|
||||
elif desc.get("secrets", {}).get("name") == "org.osbuild.mtls":
|
||||
key = os.getenv("OSBUILD_SOURCES_CURL_SSL_CLIENT_KEY")
|
||||
cert = os.getenv("OSBUILD_SOURCES_CURL_SSL_CLIENT_CERT")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue