Skip to content

Commit

Permalink
more details for rollouts plugin controller
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Buran <[email protected]>
  • Loading branch information
aburan28 committed Feb 22, 2025
1 parent 18183f2 commit 075bbec
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/proposals/external-resource-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ As mentioned in the preceding sections a non-goal of this controller is to re-im




```yaml
apiVersion: argorollouts.io/v1alpha1
kind: RolloutsPlugin
Expand All @@ -54,7 +53,6 @@ spec:
kind:
strategy:
canary:
blueGreen:

```

Expand Down Expand Up @@ -86,17 +84,25 @@ Below are several high-level overviews of how the `RolloutsPlugin` would handle



The primary goal of the `RolloutsPlugin` controller is to support custom logic for deploying applications using blue/green or canary strategies. The developer will need to implement the following methods.
The primary goal of the `RolloutsPlugin` controller is to support custom logic for deploying applications using blue/green or canary strategies. The developer will need to implement the following interface in their plugin.

```go

type Resource interface {
Create()
Delete()
Rollback()
Update()
}
type CanaryStrategy interface {
SetWeight()
SetCanaryScale()
SetMirrorWeight()
Pause()
}



```


Expand Down

0 comments on commit 075bbec

Please sign in to comment.