1
0
mirror of synced 2026-02-13 13:06:56 +00:00

Fix create secret commands

Regression bug introduced in https://github.com/fluxcd/flux2/pull/788

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan
2021-01-30 15:07:48 +02:00
parent 06bf469ba7
commit 4fd5684277
2 changed files with 9 additions and 7 deletions

View File

@@ -51,6 +51,8 @@ func makeSecret(name string) (corev1.Secret, error) {
Namespace: rootArgs.namespace,
Labels: secretLabels,
},
StringData: map[string]string{},
Data: nil,
}, nil
}