Skip to content

Commit

Permalink
add crds to helm chart
Browse files Browse the repository at this point in the history
Signed-off-by: adityajoshi12 <[email protected]>
  • Loading branch information
adityajoshi12 committed Nov 1, 2024
1 parent 6f184ae commit 6d5c496
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/release_charts.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: Release Chart

on:
workflow_dispatch:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'
paths:
- 'chart/**'
- '.github/workflows/release_charts.yml'

jobs:
release:
Expand All @@ -25,7 +29,16 @@ jobs:
- name: Install additional Helm repos
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: "1.23.x"

- name: Generate CRDs
run: |
go install sigs.k8s.io/controller-tools/cmd/[email protected]
make generate manifests
cp config/crd/bases/* chart/hlf-operator/templates/crds/
- name: Operator charts
uses: helm/[email protected]
env:
Expand Down

0 comments on commit 6d5c496

Please sign in to comment.