File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -193,6 +193,10 @@ func (e *AlluxioEngine) transformResourcesForFuse(runtime *datav1alpha1.AlluxioR
193
193
194
194
}
195
195
196
+ // transformTolerations updates the Alluxio configuration with tolerations specified in the dataset.
197
+ // It iterates over each toleration in dataset.Spec.Tolerations, clears the TolerationSeconds field,
198
+ // and appends the modified toleration to value.Tolerations. This ensures that only the necessary toleration
199
+ // settings (without expiration) are transferred to the Alluxio value.
196
200
func (e * AlluxioEngine ) transformTolerations (dataset * datav1alpha1.Dataset , value * Alluxio ) {
197
201
if len (dataset .Spec .Tolerations ) > 0 {
198
202
// value.Tolerations = dataset.Spec.Tolerations
You can’t perform that action at this time.
0 commit comments