Skip to content

Commit

Permalink
docs: add WorkloadRef to Rollout spec (argoproj#2019)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Helfand <[email protected]>
Signed-off-by: PhilippPlotnikov <[email protected]>
  • Loading branch information
danielhelfand authored and PhilippPlotnikov committed May 25, 2022
1 parent 1b60178 commit 448297a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/features/specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,15 @@ spec:
matchLabels:
app: guestbook

# Template describes the pods that will be created. Same as deployment
# WorkloadRef holds a references to a workload that provides Pod template
# (e.g. Deployment). If used, then do not use Rollout template property.
workloadRef:
apiVersion: apps/v1
kind: Deployment
name: rollout-ref-deployment

# Template describes the pods that will be created. Same as deployment.
# If used, then do not use Rollout workloadRef property.
template:
spec:
containers:
Expand Down

0 comments on commit 448297a

Please sign in to comment.