-
Notifications
You must be signed in to change notification settings - Fork 6.5k
feat(actions): parametrized actions to scale workloads (#15505) #20097
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
feat(actions): parametrized actions to scale workloads (#15505) #20097
Conversation
❗ Preview Environment undeploy from Bunnyshell failedSee: Environment Details | Pipeline Logs Available commands (reply to this comment):
|
❌ Preview Environment deleted from BunnyshellAvailable commands (reply to this comment):
|
Signed-off-by: ratulbasak <[email protected]>
* Add state to pkce flow Signed-off-by: Jungho Son <[email protected]> * Call unset Signed-off-by: Jungho Son <[email protected]> --------- Signed-off-by: Jungho Son <[email protected]> Signed-off-by: ratulbasak <[email protected]>
* docs: add link to example repo creds yaml Signed-off-by: Nicholas Morey <[email protected]> * docs: add project to repo creds examples Signed-off-by: Nicholas Morey <[email protected]> --------- Signed-off-by: Nicholas Morey <[email protected]> Signed-off-by: ratulbasak <[email protected]>
Without the extra line break, the paragraph was rendered as part of the Kustomize application manifest. Signed-off-by: Allan M. de Azevedo <[email protected]> Signed-off-by: ratulbasak <[email protected]>
Signed-off-by: Josh Soref <[email protected]> Signed-off-by: ratulbasak <[email protected]>
…18441) * feat: option to disable writing k8s events optioned to write logs for k8s events. Each is passed as an environment variable and defaults to true, disabling it requires explicitly setting the option to false. Signed-off-by: Jack-R-lantern <[email protected]> * feat: option to disable writing k8s events fix unit test - application_test - applicationset_test - project_test - appcontroller_tes - audit_logger_test Signed-off-by: Jack-R-lantern <[email protected]> * rebase Signed-off-by: Jack-R-lantern <[email protected]> --------- Signed-off-by: Jack-R-lantern <[email protected]> Signed-off-by: ratulbasak <[email protected]>
…goproj#18025) (argoproj#20009) Signed-off-by: linghaoSu <[email protected]> Signed-off-by: ratulbasak <[email protected]>
…roj#20059) Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.66.2 to 1.67.0. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](grpc/grpc-go@v1.66.2...v1.67.0) --- updated-dependencies: - dependency-name: google.golang.org/grpc dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: ratulbasak <[email protected]>
…oproj#20065) Signed-off-by: nueavv <[email protected]> Signed-off-by: ratulbasak <[email protected]>
* fix broken link Signed-off-by: nitishfy <[email protected]> * fix broken link Signed-off-by: nitishfy <[email protected]> --------- Signed-off-by: nitishfy <[email protected]> Signed-off-by: ratulbasak <[email protected]>
…roj#20068) Signed-off-by: ratulbasak <[email protected]>
Signed-off-by: CI <[email protected]> Co-authored-by: CI <[email protected]> Signed-off-by: ratulbasak <[email protected]>
… plugin-based applications (argoproj#19209) * chore: transmit manifest-generate-path resources to the cmp-server for plugin-based applications Signed-off-by: Javier Solana <[email protected]> * use SecureJoin Signed-off-by: Javier Solana <[email protected]> * make cmp manifests generation using manifest generate path annotation configurable by environment variable Signed-off-by: Javier Solana <[email protected]> * fix missing doc running codegen-local Signed-off-by: Javier Solana <[email protected]> * set reposerver.plugin.enable.manifests.generation.using.annotations false by default Signed-off-by: Javier Solana <[email protected]> * define ARGOCD_REPO_SERVER_PLUGIN_ENABLE_GENERATE_MANIFESTS_USING_MANIFEST_GENERATE_PATHS_ANNOTATION properly Signed-off-by: Javier Solana <[email protected]> * define ARGOCD_REPO_SERVER_PLUGIN_ENABLE_GENERATE_MANIFESTS_USING_MANIFEST_GENERATE_PATHS_ANNOTATION properly Signed-off-by: Javier Solana <[email protected]> * Fix conflict Signed-off-by: Javier Solana <[email protected]> * autogenerate install manifests Signed-off-by: Javier Solana <[email protected]> * add note about common root path calculation for manifest paths annotation Signed-off-by: Javier Solana <[email protected]> * log common root path calculated Signed-off-by: Javier Solana <[email protected]> * app path must be the lower common path Signed-off-by: Javier Solana <[email protected]> * tweaks Signed-off-by: Michael Crenshaw <[email protected]> --------- Signed-off-by: Michael Crenshaw <[email protected]> Co-authored-by: Javier Solana <[email protected]> Co-authored-by: Michael Crenshaw <[email protected]> Signed-off-by: ratulbasak <[email protected]>
Signed-off-by: ratulbasak <[email protected]>
Signed-off-by: ratulbasak <[email protected]>
…pgrading path-to-regexp from 1.8.0 to 1.9.0 (argoproj#20087) Signed-off-by: Cheng Fang <[email protected]> Signed-off-by: ratulbasak <[email protected]>
a6efc06 to
f864d68
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #20097 +/- ##
==========================================
+ Coverage 56.08% 59.90% +3.81%
==========================================
Files 343 344 +1
Lines 57546 57752 +206
==========================================
+ Hits 32275 34596 +2321
+ Misses 22627 20393 -2234
- Partials 2644 2763 +119 ☔ View full report in Codecov by Sentry. |
resource_customizations/apps/DaemonSet/actions/scale/action.lua
Outdated
Show resolved
Hide resolved
Signed-off-by: ratulbasak <[email protected]>
…rgo-cd into 15505-scale-resources-in-ui
|
Hello @crenshaw-dev, please look into this PR - an enhancement feature: #15505 which was already approved about a year ago. Could you please help me on how to move forward? |
Signed-off-by: ratulbasak <[email protected]>
nitishfy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few things here:
- Can you update the PR description to provide details about which issue is this PR fixing?
- I see a lot of commits from different authors (> 70). Are these intended or was there a problem when trying to rebase or perform other git operation? It looks like those commits might have come from performing a git operation.
I do not know about these commits tbh, they were added while rebasing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. few little things that should require a codegen after, then I think this can be merged and improvements can be done in follow-up PRs if necessary. (a lot of comment/discussion on this PR and it starts to be hard to track)
Signed-off-by: Alexandre Gaudreault <[email protected]>
Signed-off-by: ratulbasak <[email protected]>
Signed-off-by: Alexandre Gaudreault <[email protected]>
…ources-in-ui' into 15505-scale-resources-in-ui Signed-off-by: Alexandre Gaudreault <[email protected]>
|
@ratulbasak I pushed some change to move the validation to the lua script and fix the default value that was not working anymore. The reason behind the change is because we would need to add every kind of possible validation parameters such as min, max, regexp, etc. UI could be improved in future PRs to use the "type" and display different kind of input field, but the backend API should not contain information specific for the validation (already done by Kubernetes)
|
Signed-off-by: Alexandre Gaudreault <[email protected]>
Signed-off-by: Alexandre Gaudreault <[email protected]>
Signed-off-by: Alexandre Gaudreault <[email protected]>
Signed-off-by: Alexandre Gaudreault <[email protected]>
Signed-off-by: Alexandre Gaudreault <[email protected]>
agaudreault
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Super! |
reggie-k
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Thanks for the patience with this @ratulbasak!
… (argoproj#20097) Signed-off-by: Ratul Basak <[email protected]> Signed-off-by: Alexandre Gaudreault <[email protected]> Co-authored-by: Alexandre Gaudreault <[email protected]>
… (argoproj#20097) Signed-off-by: Ratul Basak <[email protected]> Signed-off-by: Alexandre Gaudreault <[email protected]> Co-authored-by: Alexandre Gaudreault <[email protected]> Signed-off-by: Kanika Rana <[email protected]>
… (argoproj#20097) Signed-off-by: Ratul Basak <[email protected]> Signed-off-by: Alexandre Gaudreault <[email protected]> Co-authored-by: Alexandre Gaudreault <[email protected]> Signed-off-by: Oliver Gondža <[email protected]>
… (argoproj#20097) Signed-off-by: Ratul Basak <[email protected]> Signed-off-by: Alexandre Gaudreault <[email protected]> Co-authored-by: Alexandre Gaudreault <[email protected]>
… (argoproj#20097) Signed-off-by: Ratul Basak <[email protected]> Signed-off-by: Alexandre Gaudreault <[email protected]> Co-authored-by: Alexandre Gaudreault <[email protected]>




Checklist:
This feature request is about an extension of the argocd resource actions feature to support inputs on those actions (like the replica count if you have a custom action to scale replicas: enhancement proposal