Skip to content

Commit

Permalink
Helm Repository with Github Actions (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
alfespa17 authored Feb 16, 2023
1 parent 576abf3 commit 38888fc
Show file tree
Hide file tree
Showing 27 changed files with 47 additions and 3 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Release Charts

on:
push:
branches:
- main

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Run chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
25 changes: 22 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ If the configuration is correct the pods log will show something like this:
Added 2 additional CA certificate(s) to system truststore
```

### 6. Deploy Terrakube using helm chart
### 6. Deploy Terrakube using helm chart manually

Now you have all the information to deploy Terrakube, you can use the following example:

Expand All @@ -466,6 +466,25 @@ helm install --debug --values ./values.yaml terrakube ./terrakube-helm-chart/ -n

After installing you should be able to view the app using ui domain inside the values.yaml.

Example:
### 7. Helm Repository

https://ui.terrakube.docker.internal
## Usage

[Helm](https://helm.sh) must be installed to use the charts. Please refer to
Helm's [documentation](https://helm.sh/docs) to get started.

Once Helm has been set up correctly, add the repo as follows:

helm repo add terrakube-repo https://AzBuilder.github.io/terrakube-helm-chart

If you had already added this repo earlier, run `helm repo update` to retrieve
the latest versions of the packages. You can then run `helm search repo
terrakube-repo` to see the charts.

To install the <chart-name> chart:

helm install my-<chart-name> terrakube-repo/terrakube

To uninstall the chart:

helm delete my-<chart-name>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 38888fc

Please sign in to comment.