Skip to content

Commit

Permalink
ctr: Add support for --all-platforms to encrypt command
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
  • Loading branch information
stefanberger authored and lumjjb committed Sep 19, 2022
1 parent d9fccdc commit 44f4e18
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/ctr/commands/images/encrypt.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ var encryptCommand = cli.Command{
}, cli.IntSliceFlag{
Name: "layer",
Usage: "The layer to encrypt; this must be either the layer number or a negative number starting with -1 for topmost layer",
}, cli.BoolFlag{
Name: "all-platforms",
Usage: "encrypt for all platforms; this is the default",
}, cli.StringSliceFlag{
Name: "platform",
Usage: "For which platform to encrypt; by default encrytion is done for all platforms",
Expand Down

0 comments on commit 44f4e18

Please sign in to comment.