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
The operator fails with node group historical has volume claim template without storage class which is not allowed
This is because there is no storageClassName in the Volume Claim Templates. This is the exact check
func validateNodeVolumeClaimTemplateSpec(nodeSpec *v1alpha1.DruidNodeSpec) error {
for _, vct := range nodeSpec.VolumeClaimTemplates {
if vct.Spec.StorageClassName == nil || *vct.Spec.StorageClassName == "" {
return fmt.Errorf("node group %s has volume claim template without storage class which is not allowed: %s",
nodeSpec.NodeType, vct.Name)
}
}
return nil
}
This was recently added, and hence existing runs are failing that doesn't have this field - StorageClassName. Is there any particular reason we added this? I mean, apart from volumeExpansion do we need it anywhere? I can change the code accordingly.
The text was updated successfully, but these errors were encountered:
The operator fails with
node group historical has volume claim template without storage class which is not allowed
This is because there is no storageClassName in the Volume Claim Templates. This is the exact check
druid-operator/controllers/druid/volume_expansion.go
Line 28 in 94f8ee8
This was recently added, and hence existing runs are failing that doesn't have this field -
StorageClassName
. Is there any particular reason we added this? I mean, apart from volumeExpansion do we need it anywhere? I can change the code accordingly.The text was updated successfully, but these errors were encountered: