mirror of
https://github.com/YuzuZensai/netbird-kubernetes-operator.git
synced 2026-09-13 10:49:15 +00:00
Docs PR: https://github.com/netbirdio/docs/pull/457 Changes: * Split kubernetes-operator Chart to operator only chart (kubernetes-operator) and configuration chart (netbird-operator-config) * Remove delete validation webhooks for non-needed resources * Allow abandoning Groups when still linked to a resource for over a minute after deletion * Fix duplciate Network Resource retrying heavily * Fix SetupKey creation duplication * Skip deleting routing peer since deleting network automatically deletes it anyway
44 lines
1.0 KiB
YAML
44 lines
1.0 KiB
YAML
name: Release Helm Chart
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
# update this file to trigger helm chart release
|
|
- 'helm/kubernetes-operator/Chart.yaml'
|
|
- 'helm/netbird-operator-config/Chart.yaml'
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
chart-release:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
CHART_BASE_DIR: helm
|
|
GH_PAGES_BRANCH: gh-pages
|
|
permissions:
|
|
contents: write
|
|
pages: write
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3.1.0
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Configure Git
|
|
run: |
|
|
git config user.name "$GITHUB_ACTOR"
|
|
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
|
|
|
|
- name: Install Helm
|
|
uses: azure/setup-helm@v3.4
|
|
with:
|
|
version: v3.4.2
|
|
|
|
- name: Run chart-releaser
|
|
uses: helm/chart-releaser-action@v1.4.1
|
|
with:
|
|
charts_dir: helm
|
|
env:
|
|
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
|
CR_RELEASE_NAME_TEMPLATE: "helm-v{{ .Version }}"
|