Uploaded image for project: 'OpenShift Pipelines'
  1. OpenShift Pipelines
  2. SRVKP-8991

Prework for SRVKP-8069-Develop a new controller that watches namespace level pruner config across all namespaces

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Critical Critical
    • Pipelines 1.21.0
    • None
    • Pruner
    • None
    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      This enables users to configure their own pruning policies at namespace level. By creating a tekton-pruner-namespace-spec ConfigMap in a namespace, users can now set custom configurations(like TTL and history limits) that override global defaults. [NOTE: For additional details regarding how the feature and config works users are expected to check the detailed feature doc for pruner]
      Show
      This enables users to configure their own pruning policies at namespace level. By creating a tekton-pruner-namespace-spec ConfigMap in a namespace, users can now set custom configurations(like TTL and history limits) that override global defaults. [NOTE: For additional details regarding how the feature and config works users are expected to check the detailed feature doc for pruner]
    • Feature
    • Proposed

      Key design pointers:

      • Assume the configmap name at namespace level to be "tekton-pruner-namespace-spec" (NOTE: This configmap will take priority if the enforced config level at tektonconfig/ default configmap in pipelines namespace is "namespace")
        Sample configmap: 
      // code placeholder
      
      apiVersion: v1
      kind: ConfigMap
      metadata:
        name: tekton-pruner-namespace-spec
        namespace: tekton-pipelines
      data:
        ns-config: |
          historyLimit: 100
          successHistoryLimit: 50
          failedHistoryLimit: 100
          ttlSecondsAfterFinished: 600s

       

              rh-ee-shubbhar Shubham Bhardwaj
              rh-ee-anataraj Anitha Natarajan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: