-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add example helm charts for CoMPAS services
Signed-off-by: David Monichi <[email protected]>
- Loading branch information
1 parent
baf3a9c
commit c5a515d
Showing
52 changed files
with
4,735 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# CoMPAS Helm deployment | ||
|
||
This `helm` directory is meant to provide all informations needed to deploy CoMPAS on an existing Kubernetes cluster on different stages. | ||
|
||
## Deploy to specific stage | ||
|
||
Login into Kubernetes cluster and ensure that the `namespace == STAGE_NAME` already exists. | ||
|
||
Here an example on how to deploy to stage `local` to a logged-in Kubernetes cluster: | ||
``` | ||
$> export STAGE_NAME=local | ||
$> helmfile apply --namespace ${STAGE_NAME} --validate -f helmfile-database.yaml | ||
$> helmfile apply --namespace ${STAGE_NAME} --validate -f helmfile-compas.yaml | ||
``` | ||
|
||
### Remove deployed helm deployments | ||
|
||
Here an example on how to deploy to stage `local`: | ||
``` | ||
$> export STAGE_NAME=local | ||
$> helmfile apply --namespace ${STAGE_NAME} --validate -f helmfile-database.yaml | ||
$> helmfile apply --namespace ${STAGE_NAME} --validate -f helmfile-compas.yaml | ||
``` | ||
|
||
### Retrieve keycloak admin password after deployment | ||
|
||
``` | ||
$> kubectl -n local get secret keycloak -o jsonpath='{.data.admin-password}' | base64 -d && echo | ||
``` |
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,10 @@ | ||
apiVersion: v2 | ||
name: keycloak | ||
description: CoMPAS keycloak umbrella chart | ||
version: 1.0.0 | ||
appVersion: "24.4.6" | ||
|
||
dependencies: | ||
- name: keycloak | ||
version: 24.4.6 | ||
repository: https://charts.bitnami.com/bitnami |
Oops, something went wrong.