Skip to content

Commit

Permalink
Merge pull request #23 from tchelovilar/update-helm-chart
Browse files Browse the repository at this point in the history
Update helm chart
  • Loading branch information
tchelovilar authored Apr 11, 2024
2 parents f79ff09 + 0cdcdf3 commit 16200b8
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 24 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -20,12 +20,10 @@ jobs:
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.4.0
uses: azure/setup-helm@v3

- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.2.1
uses: helm/chart-releaser-action@v1.6.0
with:
charts_dir: deploy/helm-chart
env:
Expand Down
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ Once you have created the Github APP, installed it and downloaded the private ke

```bash
kubectl create secret generic runner-exporter \
--from-literal=OWNER=<organization_name> \
--from-literal=GITHUB_APP_ID=<app_id> \
--from-literal=OWNER=organization_name \
--from-literal=GITHUB_APP_ID=app_id \
--from-literal=GITHUB_PRIVATE_KEY="-----KEY-----
xxxxxxxx
xxxxxxxx
Expand Down Expand Up @@ -112,17 +112,17 @@ You can run it also in the docker-compose. (Thanks @littlej956)
```yaml
services:
github_runners_exporter:
image: tchelovilar/github-org-runner-exporter:0.2.2
container_name: github_runner_exporter
environment:
- OWNER=owner
- GITHUB_APP_ID=12312312
- |
GITHUB_PRIVATE_KEY=-----KEY-----
xxxxxxxx
xxxxxxxx
xxxxxxxx
-----END KEY-----
- LOG_LEVEL=DEBUG
github_runners_exporter:
image: ghcr.io/tchelovilar/github-org-runner-exporter:latest
container_name: github_runner_exporter
environment:
- OWNER=owner
- GITHUB_APP_ID=12312312
- |
GITHUB_PRIVATE_KEY=-----KEY-----
xxxxxxxx
xxxxxxxx
xxxxxxxx
-----END KEY-----
- LOG_LEVEL=DEBUG
```
4 changes: 2 additions & 2 deletions deploy/helm-chart/prometheus-org-runner-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ description: A Helm chart for Kubernetes

type: application

version: 0.1.7
version: 0.2.3

# 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.
appVersion: 0.1.7
appVersion: 0.2.3
4 changes: 2 additions & 2 deletions deploy/helm-chart/prometheus-org-runner-exporter/values.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Default values for prometheus-org-runner-exporter.

image:
repository: tchelovilar/github-org-runner-exporter
repository: ghcr.io/tchelovilar/github-org-runner-exporter
pullPolicy: IfNotPresent
tag: "0.1.7"
tag: "v0.2.3@sha256:3551590875e331fa7b476d71a907bc6c5d7eb32de825513afaa3c789c548487d"


nameOverride: ""
Expand Down

0 comments on commit 16200b8

Please sign in to comment.