Skip to content

Commit

Permalink
update chart and add release actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Denan Musinovic committed Sep 2, 2024
1 parent c107486 commit f4847de
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 2 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/release_charts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Release Charts

on:
push:
branches:
- IR-545/add_bright-cli_helm_chart

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

- name: Setup Git
run: |
git config --global user.email "[email protected]"
git config --global user.name "Bright Security"
- name: Release packages main
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_SKIP_EXISTING: true
3 changes: 2 additions & 1 deletion charts/bright-cli/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ description: |
helm upgrade repeater --install \
--set repeaterID= \
--set token= \
--set cluster=hotel.playground.neuralegion.com . --wait
. --wait
Default cluster being used is "app.brightsec.com".
type: application
version: 0.0.1
keywords:
Expand Down
2 changes: 1 addition & 1 deletion charts/bright-cli/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@ spec:
- name: TOKEN
value: "{{ .Values.token }}"
- name: CLUSTER
value: "{{ .Values.cluster }}"
value: "{{ .Values.cluster | default "app.brightsec.com" }}"

0 comments on commit f4847de

Please sign in to comment.