Display config on operator start up

This commit is contained in:
Murat Kabilov
2017-05-12 11:41:30 +02:00
parent a97dfb07de
commit 310c119dfa
2 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ func ControllerConfig() *controller.Config {
func main() {
log.SetOutput(os.Stdout)
log.Printf("Spilo operator %s\n", version)
log.Printf("ServiceAccountName: %s\n", cfg.ServiceAccountName)
log.Printf("Config: %s", cfg.MustMarshal())
sigs := make(chan os.Signal, 1)
stop := make(chan struct{})