You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting enable_local_storage = true in kube.tf, two StorageClasses are created, as expected:
$ kubectl get storageclass
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
hcloud-volumes (default) csi.hetzner.cloud Delete WaitForFirstConsumer true 111m
local-path (default) rancher.io/local-path Delete WaitForFirstConsumer false 111m
However, both have annotation "storageclass.kubernetes.io/is-default-class":"true".
This is not what we want, because now it is unclear which one kubernetes will use.
@mysticaltech Yes, when I have full control, I can always choose the storageclass in a pvc.
However, not all helm charts provide a configurable value for the storageclass. And it's just easier as well to not having to bother looking up how to configure it ;-)
Do you want me to create a pull request or do you prefer to drop this anyway?
Description
When setting
enable_local_storage = true
in kube.tf, two StorageClasses are created, as expected:However, both have annotation
"storageclass.kubernetes.io/is-default-class":"true"
.This is not what we want, because now it is unclear which one kubernetes will use.
Kube.tf file
Screenshots
No response
Platform
linux
The text was updated successfully, but these errors were encountered: