Fix runner pod to be cleaned up earlier regardless of the sync period (#1299)

Ref #1291
This commit is contained in:
Yusuke Kuoka
2022-04-03 11:12:44 +09:00
committed by GitHub
parent b614dcf54b
commit 631a70a35f
5 changed files with 40 additions and 6 deletions

View File

@@ -181,6 +181,9 @@ func (rs *RunnerSpec) ValidateRepository() error {
// RunnerStatus defines the observed state of Runner
type RunnerStatus struct {
// Turns true only if the runner pod is ready.
// +optional
Ready bool `json:"ready"`
// +optional
Registration RunnerStatusRegistration `json:"registration"`
// +optional