Skip to content

Commit 29b155c

Browse files
committed
RHDEVDOCS 6420 Pruner config: annotations should be under metadata
1 parent daf143a commit 29b155c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/op-annotations-for-automatic-pruning-taskruns-pipelineruns.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ For example, the following annotations retain all task runs and pipeline runs cr
3434
kind: Namespace
3535
apiVersion: v1
3636
# ...
37-
spec:
37+
metadata:
3838
annotations:
3939
operator.tekton.dev/prune.resources: "taskrun, pipelinerun"
4040
operator.tekton.dev/prune.keep-since: 7200

0 commit comments

Comments
 (0)