Skip to content

Commit 157f724

Browse files
authored
Merge pull request #91792 from mramendi/RHDEVDOCS-6420
RHDEVDOCS 6420 Pruner config: annotations should be under metadata
2 parents 6e28f82 + 29b155c commit 157f724

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)