Skip to content

Commit e8bf4da

Browse files
lzapachilleas-k
authored andcommitted
ostree: allow passing any ostree source secrets
1 parent a03879c commit e8bf4da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/osbuild/ostree_source.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ func NewOSTreeSourceItem(commit ostree.CommitSpec) *OSTreeSourceItem {
3636
item := new(OSTreeSourceItem)
3737
item.Remote.URL = commit.URL
3838
item.Remote.ContentURL = commit.ContentURL
39-
if commit.Secrets == "org.osbuild.rhsm.consumer" {
39+
if commit.Secrets != "" {
4040
item.Remote.Secrets = &OSTreeSourceRemoteSecrets{
41-
Name: "org.osbuild.rhsm.consumer",
41+
Name: commit.Secrets,
4242
}
4343
}
4444
return item

0 commit comments

Comments
 (0)