Skip to content

Commit 1b29b1b

Browse files
authored
CLI: Add empty strings to clean-up certificates (#638)
Add empty strings to certificates that are used for clean-up by ClusterLink CLI. Signed-off-by: Kfir Toledo <kfir.toledo@ibm.com>
1 parent 7021f7b commit 1b29b1b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

pkg/bootstrap/platform/k8s.go

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,15 @@ func K8SClusterLinkInstanceConfig(config *Config, name string) ([]byte, error) {
376376
// used for deleting the secrets.
377377
func K8SEmptyCertificateConfig(config *Config) ([]byte, error) {
378378
args := map[string]interface{}{
379-
"namespace": config.Namespace,
379+
"Namespace": config.Namespace,
380+
"ca": "",
381+
"controlplaneCert": "",
382+
"controlplaneKey": "",
383+
"dataplaneCert": "",
384+
"dataplaneKey": "",
385+
"peerCert": "",
386+
"peerKey": "",
387+
"fabricCert": "",
380388
}
381389

382390
var certConfig bytes.Buffer

0 commit comments

Comments
 (0)