AB#2306 Public image sharing in Google (#358)

* document how to publicly share images in gcloud
* Write disclamer in debugd
* Add disclamer about debug images to contributing file
* Print debug banner on startup
Signed-off-by: Fabian Kammel <fk@edgeless.systems>
This commit is contained in:
Fabian Kammel 2022-08-16 15:53:54 +02:00 committed by GitHub
parent abb4fb4f0f
commit 170a8bf5e0
10 changed files with 118 additions and 16 deletions

View file

@ -66,8 +66,8 @@ func deploy(cmd *cobra.Command, fileHandler file.Handler, constellationConfig *c
debugConfig.ConstellationDebugConfig.BootstrapperPath = overrideBootstrapperPath
}
if !state.ImageNameContainsDebug(constellationConfig) {
log.Println("WARN: constellation image does not contain 'debug', are you using a debug image?")
if !constellationConfig.IsImageDebug() {
log.Println("WARN: constellation image does not look like a debug image. Are you using a debug image?")
}
overrideIPs, err := cmd.Flags().GetStringSlice("ips")