Add missing EnvVar to the version-file cli arg
This change enable the version-file to be set by the environment.
@@ -592,6 +592,8 @@ func getCrioFlags(defConf *libconfig.Config, systemContext *types.SystemContext)
cli.StringFlag{
Name: "version-file",
Usage: "Location for CRI-O to lay down the version file",
+ EnvVar: "CONTAINER_VERSION_FILE",
+ TakesFile: true,
},
}
}
