From 8b726b007f98dfcc69ee3bbafcbe4ef23683ccf6 Mon Sep 17 00:00:00 2001 From: toonsevrin Date: Wed, 11 Mar 2020 14:06:18 +0100 Subject: [PATCH] Added explanatory note about the index --- .../project/controllers/cronjob_controller.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/book/src/cronjob-tutorial/testdata/project/controllers/cronjob_controller.go b/docs/book/src/cronjob-tutorial/testdata/project/controllers/cronjob_controller.go index 39821c1f1b6..64dac030776 100644 --- a/docs/book/src/cronjob-tutorial/testdata/project/controllers/cronjob_controller.go +++ b/docs/book/src/cronjob-tutorial/testdata/project/controllers/cronjob_controller.go @@ -124,6 +124,19 @@ func (r *CronJobReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error) { } /* + + + Once we have all the jobs we own, we'll split them into active, successful, and failed jobs, keeping track of the most recent run so that we can record it in status. Remember, status should be able to be reconstituted from the state