From f6130f557cdacafa14bd536b50a4cb8dd4fd2f9c Mon Sep 17 00:00:00 2001 From: Daniel Helfand Date: Tue, 3 May 2022 09:59:00 -0500 Subject: [PATCH] docs: add WorkloadRef to Rollout spec --- docs/features/specification.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/features/specification.md b/docs/features/specification.md index c61f8d4446..eecbe266b6 100644 --- a/docs/features/specification.md +++ b/docs/features/specification.md @@ -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: