catch setup resource errors
parent
c3d4c66842
commit
85e1a0f718
|
|
@ -1459,7 +1459,7 @@ class KubernetesCleanupCronJob {
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
batchJob.spec = {
|
batchJob.spec = {
|
||||||
schedule: '0 1 * * *',
|
schedule: `0 ${new Date().getUTCHours() + 3} * * *`,
|
||||||
jobTemplate: {
|
jobTemplate: {
|
||||||
spec: {
|
spec: {
|
||||||
template: { spec },
|
template: { spec },
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -33,7 +33,7 @@ class KubernetesCleanupCronJob {
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
batchJob.spec = {
|
batchJob.spec = {
|
||||||
schedule: '0 1 * * *',
|
schedule: `0 ${new Date().getUTCHours() + 3} * * *`,
|
||||||
jobTemplate: {
|
jobTemplate: {
|
||||||
spec: {
|
spec: {
|
||||||
template: { spec },
|
template: { spec },
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue