Skip to content

Commit 4074696

Browse files
committed
add crds to helm chart
Signed-off-by: adityajoshi12 <[email protected]>
1 parent 47482ee commit 4074696

File tree

3 files changed

+197
-1021
lines changed

3 files changed

+197
-1021
lines changed

.github/workflows/release_charts.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
name: Release Chart
22

33
on:
4+
workflow_dispatch:
45
push:
56
tags:
67
- 'v[0-9]+.[0-9]+.[0-9]+'
8+
paths:
9+
- 'chart/**'
10+
- '.github/workflows/release_charts.yml'
711

812
jobs:
913
release:
@@ -25,6 +29,16 @@ jobs:
2529
- name: Install additional Helm repos
2630
run: |
2731
helm repo add bitnami https://charts.bitnami.com/bitnami
32+
- name: Install Go
33+
uses: actions/setup-go@v5
34+
with:
35+
go-version: "1.23.x"
36+
37+
- name: Generate CRDs
38+
run: |
39+
go install sigs.k8s.io/controller-tools/cmd/[email protected]
40+
make generate manifests
41+
cp config/crd/bases/* chart/hlf-operator/templates/crds/
2842
2943
- name: Operator charts
3044
uses: helm/[email protected]

chart/hlf-operator/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 1.9.0
18+
version: 1.11.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

0 commit comments

Comments
 (0)