Skip to content

Commit 07b5326

Browse files
committed
Add omitempty to cosgin secretRef
Signed-off-by: Stefan Prodan <[email protected]>
1 parent 3cb8046 commit 07b5326

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/v1beta2/ocirepository_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ type OCIRepositoryVerification struct {
168168
// SecretRef specifies the Kubernetes Secret containing the
169169
// trusted public keys.
170170
// +optional
171-
SecretRef *meta.LocalObjectReference `json:"secretRef"`
171+
SecretRef *meta.LocalObjectReference `json:"secretRef,omitempty"`
172172
}
173173

174174
// OCIRepositoryStatus defines the observed state of OCIRepository

0 commit comments

Comments
 (0)