Skip to content

Commit 2015a0b

Browse files
committed
fixup! fix: rollout and wait for Cilium DaemonSet
1 parent 4a71540 commit 2015a0b

File tree

1 file changed

+1
-1
lines changed
  • pkg/handlers/generic/lifecycle/cni/cilium

1 file changed

+1
-1
lines changed

pkg/handlers/generic/lifecycle/cni/cilium/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ func forceCiliumRollout(ctx context.Context, c ctrlclient.Client) error {
377377
}
378378
if _, ok := annotations[restartedAtAnnotation]; !ok {
379379
// Only set the annotation once to avoid a race conditition where rollouts are triggered repeatedly.
380-
annotations[restartedAtAnnotation] = time.Now().UTC().Format(time.RFC3339Nano)
380+
annotations[restartedAtAnnotation] = time.Now().UTC().Format(time.RFC3339)
381381
}
382382
ds.Spec.Template.Annotations = annotations
383383
if err := c.Update(ctx, ds); err != nil {

0 commit comments

Comments
 (0)