Skip to content

Commit

Permalink
Use proper Openshift annotation for VCS
Browse files Browse the repository at this point in the history
  • Loading branch information
geoand authored and gsmet committed Dec 20, 2022
1 parent d1e1a6b commit b7412be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions docs/src/main/asciidoc/deploying-to-kubernetes.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ The full source of the `kubernetes.json` file looks something like this:
"kind" : "Deployment",
"metadata" : {
"annotations": {
"app.quarkus.io/vcs-url" : "<some url>",
"app.quarkus.io/vcs-uri" : "<some url>",
"app.quarkus.io/commit-id" : "<some git SHA>",
},
"labels" : {
Expand Down Expand Up @@ -123,7 +123,7 @@ The full source of the `kubernetes.json` file looks something like this:
"kind" : "Service",
"metadata" : {
"annotations": {
"app.quarkus.io/vcs-url" : "<some url>",
"app.quarkus.io/vcs-uri" : "<some url>",
"app.quarkus.io/commit-id" : "<some git SHA>",
},
"labels" : {
Expand Down Expand Up @@ -305,7 +305,7 @@ Out of the box, the generated resources will be annotated with version control r
[source,json]
----
"annotations": {
"app.quarkus.io/vcs-url" : "<some url>",
"app.quarkus.io/vcs-uri" : "<some url>",
"app.quarkus.io/commit-id" : "<some git SHA>",
}
----
Expand Down Expand Up @@ -1049,7 +1049,7 @@ The full source of the `knative.json` file looks something like this:
"kind" : "Service",
"metadata" : {
"annotations": {
"app.quarkus.io/vcs-url" : "<some url>",
"app.quarkus.io/vcs-uri" : "<some url>",
"app.quarkus.io/commit-id" : "<some git SHA>"
},
"labels" : {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public final class Constants {
static final String QUARKUS = "quarkus";

static final String QUARKUS_ANNOTATIONS_COMMIT_ID = "app.quarkus.io/commit-id";
static final String QUARKUS_ANNOTATIONS_VCS_URL = "app.quarkus.io/vcs-url";
static final String QUARKUS_ANNOTATIONS_VCS_URL = "app.quarkus.io/vcs-uri";
static final String QUARKUS_ANNOTATIONS_BUILD_TIMESTAMP = "app.quarkus.io/build-timestamp";

public static final String HTTP_PORT = "http";
Expand Down

0 comments on commit b7412be

Please sign in to comment.