Skip to content

Commit e938fd6

Browse files
authored
Merge pull request #91961 from openshift-cherrypick-robot/cherry-pick-91792-to-pipelines-docs-1.19
[pipelines-docs-1.19] RHDEVDOCS 6420 Pruner config: annotations should be under metadata
2 parents daf143a + 66b86ab commit e938fd6

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)