From 0262c1606cac6d6c0dbec1d083f78493fad3d818 Mon Sep 17 00:00:00 2001 From: Shuyang Wu Date: Wed, 4 Aug 2021 18:33:15 -0400 Subject: [PATCH] chore: update error for wrong volume type --- pkg/app/app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/app/app.go b/pkg/app/app.go index ac7e9c35..d1558ebd 100644 --- a/pkg/app/app.go +++ b/pkg/app/app.go @@ -146,7 +146,7 @@ func ValidateFlags(bundle string, args []string, cmd *cobra.Command, opt *kobjec } if opt.Volumes != "persistentVolumeClaim" && opt.Volumes != "emptyDir" && opt.Volumes != "hostPath" && opt.Volumes != "configMap" { - log.Fatal("Unknown Volume type: ", opt.Volumes, ", possible values are: persistentVolumeClaim, configMap and emptyDir") + log.Fatal("Unknown Volume type: ", opt.Volumes, ", possible values are: persistentVolumeClaim, hostPath, configMap and emptyDir") } }