-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #848 from ehsavoie/WFLY-18887
[WFLY-18887]: Improving todo-backend documentation
- Loading branch information
Showing
4 changed files
with
55 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,13 @@ | ||
apiVersion: v2 | ||
name: todo-backend-chart | ||
description: A Helm chart for Kubernetes | ||
|
||
# A chart can be either an 'application' or a 'library' chart. | ||
# | ||
# Application charts are a collection of templates that can be packaged into versioned archives | ||
# to be deployed. | ||
# | ||
# Library charts provide useful utilities or functions for the chart developer. They're included as | ||
# a dependency of application charts to inject those utilities and functions into the rendering | ||
# pipeline. Library charts do not define any templates and therefore cannot be deployed. | ||
description: A Helm chart to deploy a WildFly todo-backend application and its Postgresql database | ||
type: application | ||
|
||
# This is the chart version. This version number should be incremented each time you make changes | ||
# to the chart and its templates, including the app version. | ||
# Versions are expected to follow Semantic Versioning (https://semver.org/) | ||
version: 1.0.0 | ||
|
||
# This is the version number of the application being deployed. This version number should be | ||
# incremented each time you make changes to the application. Versions are not expected to | ||
# follow Semantic Versioning. They should reflect the version the application is using. | ||
# It is recommended to use it with quotes. | ||
appVersion: "0.0.3" | ||
appVersion: 31.0.0.Final | ||
dependencies: | ||
- name: postgresql | ||
repository: https://charts.bitnami.com/bitnami | ||
version: 13.1.5 | ||
#version: 12.9.0 | ||
- name: wildfly | ||
repository: http://docs.wildfly.org/wildfly-charts/ | ||
version: 2.3.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
ifndef::ProductRelease[] | ||
Add the bitnami repository which provides an helm chart for PostgreSQL: | ||
[source,options="nowrap"] | ||
---- | ||
$ helm repo add bitnami https://charts.bitnami.com/bitnami | ||
"bitnami" has been added to your repositories | ||
---- | ||
|
||
The Helm Chart for this quickstart contains all the information to build an image from the source code using S2I and install it with the database: | ||
|
||
[source,options="nowrap"] | ||
---- | ||
dependencies: | ||
- name: postgresql | ||
repository: https://charts.bitnami.com/bitnami | ||
version: ... | ||
- name: wildfly | ||
repository: http://docs.wildfly.org/wildfly-charts/ | ||
version: ... | ||
---- | ||
|
||
So we need to update the dependecies of our Helm Chart. | ||
|
||
[source,options="nowrap",subs="+attributes"] | ||
---- | ||
$ helm dependency update charts/ | ||
---- | ||
endif::[] |