From 7c9f9a4ff5c2026936322a692062b68cb7253b3e Mon Sep 17 00:00:00 2001 From: Brad Davidson Date: Wed, 28 Aug 2024 18:14:30 +0000 Subject: [PATCH] Add toleration for network-unavailable Signed-off-by: Brad Davidson --- pkg/controllers/chart/chart.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/controllers/chart/chart.go b/pkg/controllers/chart/chart.go index 426aef36..cbc4925b 100644 --- a/pkg/controllers/chart/chart.go +++ b/pkg/controllers/chart/chart.go @@ -594,6 +594,10 @@ func job(chart *v1.HelmChart, apiServerPort string) (*batch.Job, *corev1.Secret, Key: corev1.TaintNodeNotReady, Effect: corev1.TaintEffectNoSchedule, }, + { + Key: corev1.TaintNodeNetworkUnavailable, + Effect: corev1.TaintEffectNoSchedule, + }, { Key: TaintExternalCloudProvider, Operator: corev1.TolerationOpEqual,