Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support activeDeadlineSeconds for apprepository-controller #6967

Merged
merged 2 commits into from
Oct 19, 2023

Conversation

rophy
Copy link
Contributor

@rophy rophy commented Oct 18, 2023

Description of the change

Implements #6966

Benefits

AppRepository CronJobs supports activeDeadlineSeconds

Possible drawbacks

I'm not a golang developer, go test passed, not sure if there is anything else I should be testing?

Applicable issues

#6966

@netlify
Copy link

netlify bot commented Oct 18, 2023

Deploy Preview for kubeapps-dev canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit 59c2161
🔍 Latest deploy log https://app.netlify.com/sites/kubeapps-dev/deploys/6530778676ba690008db1088

@vmwclabot
Copy link

@rophy, you must sign our contributor license agreement before your changes are merged. Click here to sign the agreement. If you are a VMware employee, read this for further instruction.

@vmwclabot
Copy link

@rophy, we have received your signed contributor license agreement. The review is usually completed within a week, but may take longer under certain circumstances. Another comment will be added to the pull request to notify you when the merge can proceed.

@vmwclabot
Copy link

@rophy, VMware has approved your signed contributor license agreement.

Copy link
Contributor

@absoludity absoludity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not a golang developer, go test passed, not sure if there is anything else I should be testing?

The main thing to test is that if it is set, that the value is used in the spec - which you've done with your update - thanks. The only other thing would be the opposite: to show that if it's not set, it'll be nil - but it's fine as is. +1 and thanks for the improvement!

Note that similar to the --ttl-lifetime-afterfinished-job flag, there is no specific chart option for this but you can set it via the apprepository.extraFlags option.

@absoludity
Copy link
Contributor

absoludity commented Oct 19, 2023

I've just pushed a one-liner to fix the error on CI (not sure why it was triggered by this PR, but it's unrelated). EDIT: it's not just this PR - also seeing the same failure in other PRs, eg #6968 .

@absoludity absoludity merged commit 181e686 into vmware-tanzu:main Oct 19, 2023
40 checks passed
@rophy rophy deleted the active-deadline-seconds branch October 25, 2023 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants