mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-02 02:24:56 -05:00
cdbg: Warn user when debugCluster is false
This commit is contained in:
parent
30725bb0c6
commit
86a1153cff
@ -62,7 +62,13 @@ func deploy(cmd *cobra.Command, fileHandler file.Handler, constellationConfig *c
|
||||
}
|
||||
|
||||
if !constellationConfig.IsDebugImage() {
|
||||
log.Println("WARN: constellation image does not look like a debug image. Are you using a debug image?")
|
||||
log.Println("WARNING: Constellation image does not look like a debug image. Are you using a debug image?")
|
||||
}
|
||||
|
||||
if !constellationConfig.IsDebugCluster() {
|
||||
log.Println("WARNING: The Constellation config has debugCluster set to false.")
|
||||
log.Println("cdbg will likely not work unless you manually adjust the firewall / load balancing rules.")
|
||||
log.Println("If you create the cluster with a debug image, you should also set debugCluster to true.")
|
||||
}
|
||||
|
||||
ips, err := cmd.Flags().GetStringSlice("ips")
|
||||
|
Loading…
x
Reference in New Issue
Block a user