Skip to content

Commit 1cc7449

Browse files
committed
scaffold: add RequeueSpec/RetrySpec
1 parent 1482225 commit 1cc7449

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scaffold/templates/api/__groupVersion__/types.go.tpl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ type {{ .kind }}Spec struct {
4343
// Uncomment the following if you want to implement the ImpersonationConfiguratio interface
4444
// (that is, want to allow use a specified service account in the target namespace for the deployment).
4545
// component.ImpersonationSpec `json:",inline"`
46+
// Uncomment the following if you want to implement the RequeueConfiguration interface
47+
// (that is, want to allow to override the default requeue interval of 10m).
48+
// component.RequeueSpec `json:",inline"`
49+
// Uncomment the following if you want to implement the RetryConfiguration interface
50+
// (that is, want to allow to override the default retry interval, which equals the effective requeue interval).
51+
// component.RequeueSpec `json:",inline"`
4652
4753
// Add your own fields here, describing the deployment of the managed component.
4854
}

0 commit comments

Comments
 (0)