Skip to content

Commit

Permalink
Merge pull request #210 from projectsyn/deps/helm-chart-best-practice
Browse files Browse the repository at this point in the history
Switch Helm chart definition to Project Syn best practices
  • Loading branch information
simu authored Jan 30, 2025
2 parents bde48e0 + 66ba3f6 commit 3890da8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion class/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,9 @@ parameters:

charts:
# We do not support helm chart versions older than v1.7.0
rook-ceph: v1.14.10
rook-ceph:
source: https://charts.rook.io/release
version: v1.14.10

operator_helm_values:
image:
Expand Down
8 changes: 4 additions & 4 deletions class/rook-ceph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ parameters:
kapitan:
dependencies:
- type: helm
source: https://charts.rook.io/release
source: ${rook_ceph:charts:rook-ceph:source}
chart_name: rook-ceph
version: ${rook_ceph:charts:rook-ceph}
output_path: ${_base_directory}/helmcharts/rook-ceph/${rook_ceph:charts:rook-ceph}
version: ${rook_ceph:charts:rook-ceph:version}
output_path: ${_base_directory}/helmcharts/rook-ceph/${rook_ceph:charts:rook-ceph:version}
- type: https
source: https://raw.githubusercontent.com/rook/rook/${rook_ceph:images:rook:tag}/deploy/examples/csi/rbd/storageclass.yaml
output_path: ${_base_directory}/manifests/${rook_ceph:images:rook:tag}/rbd-storageclass.yaml
Expand Down Expand Up @@ -40,7 +40,7 @@ parameters:
input_type: jsonnet
output_path: .
- input_paths:
- rook-ceph/helmcharts/rook-ceph/${rook_ceph:charts:rook-ceph}
- rook-ceph/helmcharts/rook-ceph/${rook_ceph:charts:rook-ceph:version}
input_type: helm
output_type: yaml
output_path: rook-ceph/01_rook_ceph_helmchart
Expand Down

0 comments on commit 3890da8

Please sign in to comment.