added tolerations to endpoint spec
@@ -213,6 +213,9 @@ func (r *Reconciler) SetDesiredDeploymentEndpoint() error {
endpointsSpec := r.NooBaa.Spec.Endpoints
podSpec := &r.DeploymentEndpoint.Spec.Template.Spec
+ if r.NooBaa.Spec.Tolerations != nil {
+ podSpec.Tolerations = r.NooBaa.Spec.Tolerations
+ }
if r.NooBaa.Spec.ImagePullSecret == nil {
podSpec.ImagePullSecrets =
[]corev1.LocalObjectReference{}
