diff --git a/fabric8-maven-plugin/src/main/java/io/fabric8/maven/JsonMojo.java b/fabric8-maven-plugin/src/main/java/io/fabric8/maven/JsonMojo.java index 9ea15006d50..2cf034b4aaa 100644 --- a/fabric8-maven-plugin/src/main/java/io/fabric8/maven/JsonMojo.java +++ b/fabric8-maven-plugin/src/main/java/io/fabric8/maven/JsonMojo.java @@ -1560,10 +1560,14 @@ private HTTPGetAction getHTTPGetAction(String prefix, Properties properties) { String httpGetPath = properties.getProperty(prefix + ".httpGet.path"); String httpGetPort = properties.getProperty(prefix + ".httpGet.port"); String httpGetHost = properties.getProperty(prefix + ".httpGet.host"); + String httpGetScheme = properties.getProperty(prefix + ".httpGet.scheme"); if (Strings.isNotBlank(httpGetPath)) { action = new HTTPGetAction(); action.setPath(httpGetPath); action.setHost(httpGetHost); + if (Strings.isNotBlank(httpGetScheme)) { + action.setScheme(httpGetScheme.toUpperCase()); + } if (Strings.isNotBlank(httpGetPort)) { IntOrString httpGetPortIntOrString = KubernetesHelper.createIntOrString(httpGetPort); action.setPort(httpGetPortIntOrString);