Skip to content

Commit

Permalink
update chart and add release actions
Browse files Browse the repository at this point in the history
Update helm chart
  • Loading branch information
Denan Musinovic committed Sep 2, 2024
1 parent c107486 commit 5f105ce
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 5 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
14 changes: 10 additions & 4 deletions charts/bright-cli/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,19 @@ name: repeater
description: |
Repeater allows you to run Brightsec scans without exposing your ports outside.
Also, it can be useful, if you want to run a local scan without deploying.
#Add helm repository command:
helm repo add bright-cli https://neuralegion.github.io/bright-cli/
Usage example from chart root dir:
helm upgrade repeater --install \
#Update helm repository:
helm repo update
#Install helm chart:
helm upgrade bright-cli --install bright-cli/repeater \
--set repeaterID= \
--set token= \
--set cluster=hotel.playground.neuralegion.com . --wait
Default cluster being used is "app.brightsec.com". For different cluster you can use additional --cluster "cluster_name" flag.
type: application
version: 0.0.1
version: 0.0.2
keywords:
- repeater
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 5f105ce

Please sign in to comment.