Skip to content

Commit 6c63f92

Browse files
committed
disable pruning temporarily, work around weird operator validation error
after fixing the pruner config typo, using disabled instead of disable, kept getting this inexplicable error in the operator validating webhook, even though only 'keep-since' was used and not 'keep' `validation failed: expected exactly one, got both: spec.pruner.keep, spec.pruner.keep-since,Reason:BadRequest,Details:nil,Code:400,` rh-pre-commit.version: 2.3.1 rh-pre-commit.check-secrets: ENABLED
1 parent 717e233 commit 6c63f92

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

operator/gitops/argocd/pipeline-service/openshift-pipelines/tekton-config.yaml

+1-9
Original file line numberDiff line numberDiff line change
@@ -190,12 +190,4 @@ spec:
190190
kube-api-qps: 50
191191
kube-api-burst: 50
192192
pruner:
193-
# The load on prod-rh01 is to the point now where tekton-results
194-
# can fall too far behind. Until the watcher's log storage is rewritten
195-
# etc with SRVKP-4347 or if we risk adding more processing power (threads,qps,burst)
196-
# to the mem leak version of the watcher, we need the OSP pruner as a backup.
197-
disable: false
198-
keep-since: 60
199-
resources:
200-
- pipelinerun
201-
schedule: "*/10 * * * *"
193+
disabled: true

0 commit comments

Comments
 (0)