Skip to content

Commit

Permalink
Merge pull request #10843 from geoand/k8s-polish
Browse files Browse the repository at this point in the history
Apply tiny polish to Kubernetes extension
  • Loading branch information
gsmet authored Jul 20, 2020
2 parents 35feb2e + b6a3f97 commit 10e1e42
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package io.quarkus.kubernetes.deployment;

public class Constants {
public final class Constants {

static final String KUBERNETES = "kubernetes";
public static final String MINIKUBE = "minikube";
Expand All @@ -26,13 +26,14 @@ public class Constants {
static final String QUARKUS_ANNOTATIONS_VCS_URL = "app.quarkus.io/vcs-url";
static final String QUARKUS_ANNOTATIONS_BUILD_TIMESTAMP = "app.quarkus.io/build-timestamp";

static final String OPENSHIFT_ANNOTATIONS_VCS_URL = "app.openshift.io/vcs-url";

static final String HTTP_PORT = "http";
static final int DEFAULT_HTTP_PORT = 8080;

static final int MIN_PORT_NUMBER = 1;
static final int MAX_PORT_NUMBER = 65535;
static final int MIN_NODE_PORT_VALUE = 30000;
static final int MAX_NODE_PORT_VALUE = 31999;

private Constants() {
}
}

0 comments on commit 10e1e42

Please sign in to comment.