-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fd046e7
commit e21f5b8
Showing
2 changed files
with
46 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Project Name | ||
|
||
## Description | ||
A Helm project that packages ms-demo-spring-boot application with its dependencies. | ||
|
||
## Prerequisites | ||
- Helm | ||
- Kubernetes cluster | ||
|
||
## Installation | ||
|
||
### Install from OCI registry | ||
1. Login to Helm repository: | ||
```shell | ||
helm registry login -u {github-user} ghcr.io | ||
``` | ||
|
||
2. Install Helm chart | ||
```shell | ||
helm install ms-demo oci://ghcr.io/codefactoryhu/ms-demo --version={version} | ||
``` | ||
|
||
3. Clone the repository: | ||
```shell | ||
git clone https://github.com/codefactoryhu/ms-demo-helm.git | ||
``` | ||
|
||
4. Change into the project directory: | ||
```shell | ||
cd ms-demo-helm | ||
``` | ||
|
||
5. Install the dependencies: | ||
```shell | ||
helm dependency update | ||
``` | ||
|
||
6. Customize the configuration by modifying the `values.yaml` file. | ||
|
||
7. Deploy the Helm chart: | ||
```shell | ||
helm install ms-demo . | ||
``` |