Skip to content

Commit

Permalink
cloudapi: carry ostree MTLS secret over
Browse files Browse the repository at this point in the history
  • Loading branch information
lzap authored and croissanne committed Dec 3, 2024
1 parent 779053d commit 4b55bc2
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions internal/cloudapi/v2/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -654,13 +654,7 @@ func serializeManifest(ctx context.Context, manifestSource *manifest.Manifest, w
Ref: resultSpec.Ref,
URL: resultSpec.URL,
Checksum: resultSpec.Checksum,
}
if resultSpec.RHSM {
// NOTE: Older workers don't set the Secrets string in the result
// spec so let's add it here for backwards compatibility. This
// should be removed after a few versions when all workers have
// been updated.
resultSpec.Secrets = "org.osbuild.rhsm.consumer"
Secrets: resultSpec.Secrets,
}
}
ostreeCommitSpecs = map[string][]ostree.CommitSpec{
Expand Down

0 comments on commit 4b55bc2

Please sign in to comment.