Skip to content

Commit eeb0d42

Browse files
committed
fix: add encryption key setup for secure storage initialization
1 parent fcff533 commit eeb0d42

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

kubewatch/main.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
package main
1818

1919
import (
20+
"github.com/devtron-labs/common-lib/securestore"
2021
"log"
2122
"os"
2223
"os/signal"
@@ -25,6 +26,10 @@ import (
2526
)
2627

2728
func main() {
29+
err := securestore.SetEncryptionKey()
30+
if err != nil {
31+
log.Println("error in setting encryption key", "err", err)
32+
}
2833
app, err := InitializeApp()
2934
if err != nil {
3035
log.Panic(err)

0 commit comments

Comments
 (0)