@Override public void build(String name, DeploymentData deploymentData, InputStream tarInputStream) throws IOException { final String sName = Names.sanitize(name); ensureImageStreams(sName); ensureBuildConfig(sName, deploymentData, this.config.getBuilderImageStreamTag(), this.config.getImageStreamNamespace()); openShiftClient.buildConfigs().withName(sName) .instantiateBinary() .fromInputStream(tarInputStream); }