mirror of
https://github.com/YuzuZensai/netbird-kubernetes-operator.git
synced 2026-09-13 18:59:09 +00:00
- It adds a helm chart that will be hosted in the Github pages URL of this repository - an admission controller operator - Basic documentation for installing the operator, configuring CRDs and example pod configuration
37 lines
862 B
YAML
37 lines
862 B
YAML
name: Release Helm Chart and Carvel package
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
# update this file to trigger helm chart release
|
|
- 'helm/netbird-operator/Chart.yaml'
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
release:
|
|
runs-on: ubuntu-latest
|
|
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 }}"
|