-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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 delete 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 <ratulbasak93@gmail.com>
* Add state to pkce flow Signed-off-by: Jungho Son <js3692@users.noreply.github.com> * Call unset Signed-off-by: Jungho Son <js3692@users.noreply.github.com> --------- Signed-off-by: Jungho Son <js3692@users.noreply.github.com> Signed-off-by: ratulbasak <ratulbasak93@gmail.com>
* docs: add link to example repo creds yaml Signed-off-by: Nicholas Morey <nicholas@morey.tech> * docs: add project to repo creds examples Signed-off-by: Nicholas Morey <nicholas@morey.tech> --------- Signed-off-by: Nicholas Morey <nicholas@morey.tech> Signed-off-by: ratulbasak <ratulbasak93@gmail.com>
Without the extra line break, the paragraph was rendered as part of the Kustomize application manifest. Signed-off-by: Allan M. de Azevedo <4llan@users.noreply.github.com> Signed-off-by: ratulbasak <ratulbasak93@gmail.com>
Signed-off-by: Josh Soref <jsoref@gmail.com> Signed-off-by: ratulbasak <ratulbasak93@gmail.com>
…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 <tjdfkr2421@gmail.com> * 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 <tjdfkr2421@gmail.com> * rebase Signed-off-by: Jack-R-lantern <tjdfkr2421@gmail.com> --------- Signed-off-by: Jack-R-lantern <tjdfkr2421@gmail.com> Signed-off-by: ratulbasak <ratulbasak93@gmail.com>
…goproj#18025) (argoproj#20009) Signed-off-by: linghaoSu <linghao.su@daocloud.io> Signed-off-by: ratulbasak <ratulbasak93@gmail.com>
…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] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Signed-off-by: ratulbasak <ratulbasak93@gmail.com>
…oproj#20065) Signed-off-by: nueavv <nuguni@kakao.com> Signed-off-by: ratulbasak <ratulbasak93@gmail.com>
* fix broken link Signed-off-by: nitishfy <justnitish06@gmail.com> * fix broken link Signed-off-by: nitishfy <justnitish06@gmail.com> --------- Signed-off-by: nitishfy <justnitish06@gmail.com> Signed-off-by: ratulbasak <ratulbasak93@gmail.com>
…roj#20068) Signed-off-by: ratulbasak <ratulbasak93@gmail.com>
Signed-off-by: CI <ci@argoproj.com> Co-authored-by: CI <ci@argoproj.com> Signed-off-by: ratulbasak <ratulbasak93@gmail.com>
… plugin-based applications (argoproj#19209) * chore: transmit manifest-generate-path resources to the cmp-server for plugin-based applications Signed-off-by: Javier Solana <javier.solana@cabify.com> * use SecureJoin Signed-off-by: Javier Solana <javier.solana@cabify.com> * make cmp manifests generation using manifest generate path annotation configurable by environment variable Signed-off-by: Javier Solana <javier.solana@cabify.com> * fix missing doc running codegen-local Signed-off-by: Javier Solana <javier.solana@cabify.com> * set reposerver.plugin.enable.manifests.generation.using.annotations false by default Signed-off-by: Javier Solana <javier.solana@cabify.com> * define ARGOCD_REPO_SERVER_PLUGIN_ENABLE_GENERATE_MANIFESTS_USING_MANIFEST_GENERATE_PATHS_ANNOTATION properly Signed-off-by: Javier Solana <javier.solana@cabify.com> * define ARGOCD_REPO_SERVER_PLUGIN_ENABLE_GENERATE_MANIFESTS_USING_MANIFEST_GENERATE_PATHS_ANNOTATION properly Signed-off-by: Javier Solana <javier.solana@cabify.com> * Fix conflict Signed-off-by: Javier Solana <javier.solana@cabify.com> * autogenerate install manifests Signed-off-by: Javier Solana <javier.solana@cabify.com> * add note about common root path calculation for manifest paths annotation Signed-off-by: Javier Solana <javier.solana@cabify.com> * log common root path calculated Signed-off-by: Javier Solana <javier.solana@cabify.com> * app path must be the lower common path Signed-off-by: Javier Solana <javier.solana@cabify.com> * tweaks Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> --------- Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Co-authored-by: Javier Solana <javier.solana@cabify.com> Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Signed-off-by: ratulbasak <ratulbasak93@gmail.com>
Signed-off-by: ratulbasak <ratulbasak93@gmail.com>
Signed-off-by: ratulbasak <ratulbasak93@gmail.com>
…pgrading path-to-regexp from 1.8.0 to 1.9.0 (argoproj#20087) Signed-off-by: Cheng Fang <cfang@redhat.com> Signed-off-by: ratulbasak <ratulbasak93@gmail.com>
a6efc06
to
f864d68
Compare
Codecov ReportAttention: 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 <ratulbasak93@gmail.com>
…rgo-cd into 15505-scale-resources-in-ui
…le-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? |
Review please, thank you. |
Signed-off-by: ratulbasak <ratulbasak93@gmail.com>
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 <alexandre_gaudreault@intuit.com>
Signed-off-by: ratulbasak <ratulbasak93@gmail.com>
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
…ources-in-ui' into 15505-scale-resources-in-ui Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
@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 <alexandre_gaudreault@intuit.com>
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
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! |
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 <ratulbasak93@gmail.com> Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
… (argoproj#20097) Signed-off-by: Ratul Basak <ratulbasak93@gmail.com> Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> Signed-off-by: Kanika Rana <krana@redhat.com>
… (argoproj#20097) Signed-off-by: Ratul Basak <ratulbasak93@gmail.com> Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> Signed-off-by: Oliver Gondža <ogondza@gmail.com>
… (argoproj#20097) Signed-off-by: Ratul Basak <ratulbasak93@gmail.com> Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
… (argoproj#20097) Signed-off-by: Ratul Basak <ratulbasak93@gmail.com> Signed-off-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com> Co-authored-by: Alexandre Gaudreault <alexandre_gaudreault@intuit.com>
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