Add omitempty to cosgin secretRef

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan 2022-09-13 18:44:00 +03:00
parent 3cb8046866
commit 07b532674c
No known key found for this signature in database
GPG Key ID: 3299AEB0E4085BAF
1 changed files with 1 additions and 1 deletions

View File

@ -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