From bd2246a91506605b213419de611a9f2625969c68 Mon Sep 17 00:00:00 2001 From: Arnob Kumar Saha Date: Sun, 27 Sep 2026 19:35:43 +0600 Subject: [PATCH] Omit empty jks truststore/keystore Signed-off-by: Arnob Kumar Saha --- api/gateway/v1alpha1/gatewayconfig_types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/gateway/v1alpha1/gatewayconfig_types.go b/api/gateway/v1alpha1/gatewayconfig_types.go index 535d49c0..60e257ff 100644 --- a/api/gateway/v1alpha1/gatewayconfig_types.go +++ b/api/gateway/v1alpha1/gatewayconfig_types.go @@ -107,9 +107,9 @@ type TLSData struct { type Keystore struct { // +optional - Truststore []byte `json:"truststore"` + Truststore []byte `json:"truststore,omitempty"` // +optional - Keystore []byte `json:"keystore"` + Keystore []byte `json:"keystore,omitempty"` Password string `json:"password"` }