Skip to content

Commit

Permalink
snapshot-validation: fetch CRDs on release
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz "WanzenBug" Wanzenböck <[email protected]>
  • Loading branch information
WanzenBug committed Jul 7, 2022
1 parent ca8c40c commit 2163931
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 839 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:
cd ./charts/snapshot-controller
make crds
- name: Fetch CRDs for snapshot-validation-webhook
run: |
cd ./charts/snapshot-validation-webhook
make crds
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
Expand Down
2 changes: 1 addition & 1 deletion charts/snapshot-validation-webhook/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
type: application
name: snapshot-validation-webhook
version: 1.5.0
version: 1.5.1
appVersion: "v6.0.1"
icon: https://raw.githubusercontent.com/piraeusdatastore/piraeus/master/artwork/sandbox-artwork/icon/color.svg
maintainers:
Expand Down
2 changes: 2 additions & 0 deletions charts/snapshot-validation-webhook/crds/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!README.md
10 changes: 10 additions & 0 deletions charts/snapshot-validation-webhook/crds/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Snapshot CRDs

For convenience this chart packages the `VolumeSnapshot` CRDs from https://github.com/kubernetes-csi/external-snapshotter.

Note that due to the way Helm deals with CRDs, you may want to manually update the CRDs.

CRDs are automatically pulled in using our [CI pipeline](../../../.github/workflows/release.yaml) and always match the
AppVersion in [Chart.yaml](../Chart.yaml).

If you install the chart directly from the directory, please run `make crds` first

This file was deleted.

Loading

0 comments on commit 2163931

Please sign in to comment.