33 lines
1.1 KiB
Text
33 lines
1.1 KiB
Text
|
|
let _presets = (import "schemas/lib/concerns_presets.ncl").presets in
|
||
|
|
|
||
|
|
{
|
||
|
|
hetzner_csi | default = {
|
||
|
|
mode | default = 'cluster,
|
||
|
|
version | default = "2.21.2",
|
||
|
|
storage_class_name | default = "hcloud-volumes",
|
||
|
|
default_fs_type | default = 'ext4,
|
||
|
|
reclaim_policy | default = 'Retain,
|
||
|
|
allow_volume_expansion | default = true,
|
||
|
|
token_secret_name | default = "hcloud",
|
||
|
|
enable_snapshot_class | default = false,
|
||
|
|
kubelet_dir | default = "/var/lib/kubelet",
|
||
|
|
operations | default = {
|
||
|
|
install = true,
|
||
|
|
reinstall = true,
|
||
|
|
delete = true,
|
||
|
|
health = true,
|
||
|
|
},
|
||
|
|
live_check | default = {
|
||
|
|
strategy = 'k8s_pods,
|
||
|
|
scope = 'cp_only,
|
||
|
|
namespace = "kube-system",
|
||
|
|
selector = "hcloud-csi",
|
||
|
|
},
|
||
|
|
|
||
|
|
# ServiceConcerns default — Hetzner CSI driver; infrastructure_glue preset with custom backup reason.
|
||
|
|
concerns | default = _presets.infrastructure_glue & {
|
||
|
|
backup | force = { kind = 'disabled, reason = "state in K8s API captured by SystemBackupDef.cluster_resources; persistent volumes captured by per-component policies" },
|
||
|
|
},
|
||
|
|
},
|
||
|
|
}
|