16306: Set Workbench1 secret key.
authorTom Clegg <tom@tomclegg.ca>
Fri, 7 Aug 2020 14:51:39 +0000 (10:51 -0400)
committerTom Clegg <tom@tomclegg.ca>
Fri, 21 Aug 2020 17:55:34 +0000 (13:55 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>

lib/install/init.go

index ca8d4da9244181a7d81dfc196f3a91120663e04f..8debf59be5372670b2abf919401a5513da0e4e34 100644 (file)
@@ -178,6 +178,8 @@ func (initcmd *initCommand) RunCommand(prog string, args []string, stdin io.Read
         DriverParameters:
           Root: /var/lib/arvados/keep
         Replication: 2
+    Workbench:
+      SecretKeyBase: {{printf "%q" ( .RandomHex 50 )}}
 `)
        if err != nil {
                return 1