diff --git a/apis/release/v1alpha1/types.go b/apis/release/v1alpha1/types.go index 3b438d0..bf684c9 100644 --- a/apis/release/v1alpha1/types.go +++ b/apis/release/v1alpha1/types.go @@ -40,7 +40,7 @@ type NamespacedName struct { // DataKeySelector defines required spec to access a key of a configmap or secret type DataKeySelector struct { - NamespacedName `json:",inline,omitempty"` + NamespacedName `json:",inline"` Key string `json:"key,omitempty"` Optional bool `json:"optional,omitempty"` } diff --git a/apis/release/v1beta1/types.go b/apis/release/v1beta1/types.go index 8721287..7a4035a 100644 --- a/apis/release/v1beta1/types.go +++ b/apis/release/v1beta1/types.go @@ -47,7 +47,7 @@ type NamespacedName struct { // DataKeySelector defines required spec to access a key of a configmap or secret type DataKeySelector struct { - NamespacedName `json:",inline,omitempty"` + NamespacedName `json:",inline"` Key string `json:"key,omitempty"` Optional bool `json:"optional,omitempty"` }