10000 Support for customizable resource actions as Lua scripts · Issue #86 · argoproj/argo-cd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Support for customizable resource actions as Lua scripts #86
Closed
@jessesuen

Description

@jessesuen

Repurposing this issue for a different proposal:

A use case is to perform some kind of custom action on an application resource. Some example actions are:

  • pause / resume an Argo Rollout
  • suspend / resume a CronJob
  • set some istio traffic shaping weights on a VirtualService

This proposal is to support customized actions on application resources. These actions would be made available from the API and CLI. The "action" would be a lua script that mutates the resource object in some way.

Some considerations:

  • we may need a way to list available actions on a resource (to present in UI). For example, if a cronjob is suspended, then it should show "resume" as an available action but not "suspend"
  • some actions may require inputs. For example, to set weights for a Istio VirtualService
  • actions may return errors. For example, if someone supplied invalid input to an action

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0