Add omitempty to cosgin secretRef
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
parent
3cb8046866
commit
07b532674c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue