mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-09-27 20:10:51 -04:00
cdbg: Warn user when debugCluster is false
This commit is contained in:
parent
30725bb0c6
commit
86a1153cff
1 changed files with 7 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue