Retry apply if conflict is detected
When applying objects to a cluster, there a small chance that a
conflict could arise. Instead of failing instantly, sleep for one
second, and retry up to five times.
Fixes #619
Signed-off-by:
bryanl <bryanliles@gmail.com>
Showing
pkg/cluster/managed_annotation.go
0 → 100644