Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ Add TopoLVM umbrella chart #89

Merged
merged 2 commits into from
May 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions charts/topolvm/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# 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
*~
# Various IDEs
.project
.idea/
*.tmproj
6 changes: 6 additions & 0 deletions charts/topolvm/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dependencies:
- name: topolvm
repository: https://topolvm.github.io/topolvm
version: 14.1.2
digest: sha256:6ea903c8d8c6d537680dbb5112ee594a9bdc956e4a861e44c8651ec0d6d68ed5
generated: "2024-05-16T20:29:07.574151013-03:00"
10 changes: 10 additions & 0 deletions charts/topolvm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
apiVersion: "v2"
name: "topolvm"
version: 1.1.0
description: |
This chart installs and configures TopoLVM for Syself Autopilot.
dependencies:
- name: "topolvm"
version: "14.1.2"
repository: "https://topolvm.github.io/topolvm"
7 changes: 7 additions & 0 deletions charts/topolvm/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# What is this chart?

This is an umbrella chart for TopoLVM with predefined configuration tailored for use with Syself Autopilot.

## Note

Not intended for use outside of the Syself Autopilot environment.
Binary file added charts/topolvm/charts/topolvm-14.1.2.tgz
Binary file not shown.
60 changes: 60 additions & 0 deletions charts/topolvm/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
topolvm:
lvmd:
managed: false
deviceClasses:
- name: dc-ssd
volumme-group: vg-ssd
type: thin
thin-pool:
name: pool-ssd
overprovision-ratio: 1.0
default: false
spare-gb: 10
- name: dc-nvme
volumme-group: vg-nvme
type: thin
thin-pool:
name: pool-nvme
overprovision-ratio: 1.0
default: false
spare-gb: 10
- name: dc-hdd
volumme-group: vg-hdd
type: thin
thin-pool:
name: pool-hdd
overprovision-ratio: 1.0
default: false
spare-gb: 10
storageClasses:
- name: local-ssd
storageClass:
fsType: ext4
volumeBindingMode: WaitForFirstConsumer
reclaimPolicy: Retain
allowVolumeExpansion: true
additionalParameters:
topolvm.io/device-class: "dc-ssd"
- name: local-nvme
storageClass:
fsType: ext4
volumeBindingMode: WaitForFirstConsumer
reclaimPolicy: Retain
allowVolumeExpansion: true
additionalParameters:
topolvm.io/device-class: "dc-nvme"
- name: local-hdd
storageClass:
fsType: ext4
volumeBindingMode: WaitForFirstConsumer
reclaimPolicy: Retain
allowVolumeExpansion: true
additionalParameters:
topolvm.io/device-class: "dc-hdd"
node:
lvmdEmbedded: true
controller:
nodeFinalize:
skipped: true
nodeSelector:
instance.hetzner.cloud/is-root-server: "true"