Skip to content

Commit

Permalink
set certificactes in node struct
Browse files Browse the repository at this point in the history
  • Loading branch information
karimra committed Sep 22, 2020
1 parent 284dcc3 commit a837f16
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ var deployCmd = &cobra.Command{
log.Debugf("%s Cert: %s", shortDutName, string(nodeCerts.Cert))
log.Debugf("%s Key: %s", shortDutName, string(nodeCerts.Key))
}

node.TLSCert = string(nodeCerts.Cert)
node.TLSKey = string(nodeCerts.Key)
if err = c.CreateNodeDirStructure(node, shortDutName); err != nil {
log.Error(err)
}
Expand Down

0 comments on commit a837f16

Please sign in to comment.