-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(charts): move CRDs to a subchart (#284)
* ci: update GitHub Actions workflows Signed-off-by: Niladri Halder <[email protected]> * refactor(charts): move CRDs to a subchart Signed-off-by: Niladri Halder <[email protected]> * remove useless crd.enableInstall variable Signed-off-by: Jeffrey Zhang <[email protected]> Signed-off-by: Niladri Halder <[email protected]> * revert(charts): remove stale crd.volumeSnashots option Signed-off-by: Niladri Halder <[email protected]> * feat(charts): disable hostNetwork on node plugin Signed-off-by: Abhinandan Purkait <[email protected]> Signed-off-by: Niladri Halder <[email protected]> * Change lvm-controller's Kind from StatefulSet to Deployment (#196) Signed-off-by: Evgenii Tereshkov <[email protected]> Signed-off-by: Niladri Halder <[email protected]> * Fix PR number in changelogs Signed-off-by: Evgenii Tereshkov <[email protected]> Signed-off-by: Niladri Halder <[email protected]> * refactor(charts): simplify CRD helm chart values Signed-off-by: Niladri Halder <[email protected]> * doc: replace sts for deploy in chart README.md Signed-off-by: Niladri Halder <[email protected]> --------- Signed-off-by: Niladri Halder <[email protected]> Signed-off-by: Jeffrey Zhang <[email protected]> Signed-off-by: Abhinandan Purkait <[email protected]> Signed-off-by: Evgenii Tereshkov <[email protected]> Co-authored-by: Jeffrey Zhang <[email protected]> Co-authored-by: Abhinandan Purkait <[email protected]> Co-authored-by: Evgenii Tereshkov <[email protected]>
- Loading branch information
1 parent
d8b2b9a
commit de4570f
Showing
20 changed files
with
442 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
|
@@ -22,12 +22,12 @@ jobs: | |
git config user.email "[email protected]" | ||
- name: Install Helm | ||
uses: azure/setup-helm@v1 | ||
uses: azure/setup-helm@v4 | ||
with: | ||
version: v3.4.0 | ||
version: v3.14.3 | ||
|
||
- name: Run chart-releaser | ||
uses: helm/chart-releaser-action@v1.2.0 | ||
uses: helm/chart-releaser-action@v1.6.0 | ||
env: | ||
CR_TOKEN: "${{ secrets.CR_TOKEN }}" | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Change lvm-controller's Kind from StatefulSet to Deployment (#196) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
apiVersion: v2 | ||
name: lvm-localpv | ||
description: CSI Driver for dynamic provisioning of LVM Persistent Local Volumes. | ||
version: 1.4.0 | ||
appVersion: 1.4.0 | ||
version: 1.5.0 | ||
appVersion: 1.5.0 | ||
icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/openebs/icon/color/openebs-icon-color.png | ||
home: https://openebs.io/ | ||
keywords: | ||
|
@@ -14,6 +14,9 @@ keywords: | |
- storage | ||
sources: | ||
- https://github.com/openebs/lvm-localpv | ||
dependencies: | ||
- name: crds | ||
version: "1.5.0" | ||
maintainers: | ||
- name: prateekpandey14 | ||
email: [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: v2 | ||
name: crds | ||
version: 1.5.0 | ||
description: A Helm chart that collects CustomResourceDefinitions (CRDs) from lvm-localpv. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{{/* | ||
This returns a "1" if the CRD is absent in the cluster | ||
Usage: | ||
{{- if (include "crdIsAbsent" (list <crd-name>)) -}} | ||
# CRD Yaml | ||
{{- end -}} | ||
*/}} | ||
{{- define "crdIsAbsent" -}} | ||
{{- $crdName := index . 0 -}} | ||
{{- $crd := lookup "apiextensions.k8s.io/v1" "CustomResourceDefinition" "" $crdName -}} | ||
{{- $output := "1" -}} | ||
{{- if $crd -}} | ||
{{- $output = "" -}} | ||
{{- end -}} | ||
|
||
{{- $output -}} | ||
{{- end -}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.