Split of values into seperate files for the remaining infra (#12)

This commit is contained in:
2025-04-22 11:07:53 +02:00
parent 9068fc25ae
commit f62e9b5c40
22 changed files with 251 additions and 173 deletions

View File

@@ -13,23 +13,6 @@ spec:
version: 15.5.1
interval: 15m
timeout: 5m
values:
lvmd:
deviceClasses:
- name: "thin"
volume-group: rl
default: true
type: thin
thin-pool:
name: "pool"
overprovision-ratio: 2.0
storageClasses:
- name: topolvm-provisioner
storageClass:
fsType: xfs
isDefaultClass: false
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true
additionalParameters:
'{{ include "topolvm.pluginName" . }}/device-class': "thin"
valuesFrom:
- kind: ConfigMap
name: topolvm-values

View File

@@ -6,3 +6,11 @@ resources:
- ./helm-repository.yaml
- ./helm-release.yaml
- ./volume-snapshot-class.yaml
configurations:
- ../../common/name-reference/helm-release.yaml
configMapGenerator:
- name: topolvm-values
files:
- ./values.yaml

19
infra/topolvm/values.yaml Normal file
View File

@@ -0,0 +1,19 @@
lvmd:
deviceClasses:
- name: "thin"
volume-group: rl
default: true
type: thin
thin-pool:
name: "pool"
overprovision-ratio: 2.0
storageClasses:
- name: topolvm-provisioner
storageClass:
fsType: xfs
isDefaultClass: false
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: true
additionalParameters:
'{{ include "topolvm.pluginName" . }}/device-class': "thin"