From f8dff2da882449498343acb9a9fba0f71c91c192 Mon Sep 17 00:00:00 2001 From: "jakub.coufal" Date: Tue, 24 Jul 2018 10:22:07 +0200 Subject: [PATCH] Fix Secret patch serialization bug --- pkg/upload/upload.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/upload/upload.go b/pkg/upload/upload.go index 02ebc15..b291518 100644 --- a/pkg/upload/upload.go +++ b/pkg/upload/upload.go @@ -350,7 +350,7 @@ func (u *secretUploader) patchSecret(oldSecret *corev1.Secret, secrets typedcore return err } - patchBytes, err := strategicpatch.CreateTwoWayMergePatch(oldData, newData, corev1.ConfigMap{}) + patchBytes, err := strategicpatch.CreateTwoWayMergePatch(oldData, newData, corev1.Secret{}) if err != nil { return err }