diff --git a/api/v1beta2/ocirepository_types.go b/api/v1beta2/ocirepository_types.go index c838bb15..1aa855ac 100644 --- a/api/v1beta2/ocirepository_types.go +++ b/api/v1beta2/ocirepository_types.go @@ -168,7 +168,7 @@ type OCIRepositoryVerification struct { // SecretRef specifies the Kubernetes Secret containing the // trusted public keys. // +optional - SecretRef *meta.LocalObjectReference `json:"secretRef"` + SecretRef *meta.LocalObjectReference `json:"secretRef,omitempty"` } // OCIRepositoryStatus defines the observed state of OCIRepository