We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdf7850 commit 41a2a2aCopy full SHA for 41a2a2a
1 file changed
shared/oci.go
@@ -73,7 +73,7 @@ func BlobResource(resource Resource) ComponentModification {
73
Relation: ocmmetav1.LocalRelation,
74
},
75
blobaccess.ForString(mime.MIME_TEXT, resource.Data),
76
- "", nil,
+ "", nil, ocm.ModifyElement(true),
77
)
78
}
79
@@ -88,7 +88,7 @@ func ImageRefResource(ref string, resource Resource) ComponentModification {
88
89
Type: resource.Type,
90
Relation: ocmmetav1.ExternalRelation,
91
- }, ociartifact.New(ref))
+ }, ociartifact.New(ref), ocm.ModifyElement(true))
92
93
94
@@ -101,7 +101,7 @@ func ComponentVersionRef(ref ComponentRef) ComponentModification {
101
Version: ref.Version,
102
103
ComponentName: ref.ComponentName,
104
- })
+ }, ocm.ModifyElement(true))
105
106
107
0 commit comments