metadata:
  annotations:
    description: Adds lifecycle/stale to issues after 30d of inactivity, if not triaged
    prow.k8s.io/context: ""
    prow.k8s.io/job: ci-scylla-operator-triage-robot-stale-issues
  creationTimestamp: "2025-03-31T11:29:06Z"
  generation: 7
  labels:
    created-by-prow: "true"
    prow.k8s.io/build-id: "1906670083380350976"
    prow.k8s.io/context: ""
    prow.k8s.io/id: 989669fe-4313-4be2-9f4d-6d0e3ba1078c
    prow.k8s.io/job: ci-scylla-operator-triage-robot-stale-issues
    prow.k8s.io/type: periodic
  name: 989669fe-4313-4be2-9f4d-6d0e3ba1078c
  namespace: prow-workspace
  resourceVersion: "614203996"
  uid: 7421081a-c3e9-45b7-800a-558dfa70d438
spec:
  agent: kubernetes
  cluster: default
  decoration_config:
    gcs_configuration:
      bucket: gs://scylla-operator-prow
      path_strategy: explicit
    gcs_credentials_secret: gcs-credentials
    github_api_endpoints:
    - http://ghproxy.prow.svc
    - https://api.github.com
    github_app_id: "112385"
    github_app_private_key_secret:
      key: cert
      name: github-token
    grace_period: 15m0s
    resources:
      clonerefs:
        requests:
          cpu: 100m
      initupload:
        requests:
          cpu: 100m
      place_entrypoint:
        requests:
          cpu: 100m
      sidecar:
        requests:
          cpu: 100m
    timeout: 2h0m0s
    utility_images:
      clonerefs: us-docker.pkg.dev/k8s-infra-prow/images/clonerefs:v20240802-66b115076
      entrypoint: us-docker.pkg.dev/k8s-infra-prow/images/entrypoint:v20240802-66b115076
      initupload: us-docker.pkg.dev/k8s-infra-prow/images/initupload:v20240802-66b115076
      sidecar: us-docker.pkg.dev/k8s-infra-prow/images/sidecar:v20240802-66b115076
  job: ci-scylla-operator-triage-robot-stale-issues
  namespace: prow-workspace
  pod_spec:
    containers:
    - args:
      - |-
        --query=repo:scylladb/scylla-operator
        repo:scylladb/scylla-operator-images
        repo:scylladb/scylla-operator-release
        repo:scylladb/scylla-operator-ci-tools
        repo:scylladb/local-csi-driver
        is:issue
        -label:"triage/accepted"
        -label:"lifecycle/stale"
        -label:"lifecycle/frozen"
        -label:"lifecycle/rotten"
      - --updated=720h
      - --github-endpoint=http://ghproxy.prow.svc
      - --github-endpoint=https://api.github.com
      - --github-app-id=$(GITHUB_APP_ID)
      - --github-app-private-key-path=/etc/github2/cert
      - --org=scylladb
      - |-
        --comment=The Scylla Operator project currently lacks enough contributors to adequately respond to all issues.

        This bot triages un-triaged issues according to the following rules:
        - After 30d of inactivity, `lifecycle/stale` is applied
        - After 30d of inactivity since `lifecycle/stale` was applied, `lifecycle/rotten` is applied
        - After 30d of inactivity since `lifecycle/rotten` was applied, the issue is closed

        You can:
        - Mark this issue as fresh with `/remove-lifecycle stale`
        - Close this issue with `/close`
        - Offer to help out

        /lifecycle stale
      - --template
      - --ceiling=10
      - --confirm=true
      command:
      - commenter
      env:
      - name: GITHUB_APP_ID
        valueFrom:
          secretKeyRef:
            key: appid
            name: github-token
      image: quay.io/tnozicka/commenter:github-app-auth@sha256:1873cedded66b74eb4d8fe8b12556d5f4efdbb039959d45dddb7d1a85f5fe2ad
      name: ""
      resources: {}
      securityContext:
        allowPrivilegeEscalation: false
        capabilities:
          drop:
          - ALL
        runAsGroup: 4242
        runAsNonRoot: true
        runAsUser: 4242
        seccompProfile:
          type: RuntimeDefault
      volumeMounts:
      - mountPath: /etc/github2
        name: github-token-2
        readOnly: true
    volumes:
    - name: github-token-2
      secret:
        secretName: github-token
  prowjob_defaults:
    tenant_id: GlobalDefaultID
  report: true
  type: periodic
status:
  build_id: "1906670083380350976"
  completionTime: "2025-03-31T11:29:12Z"
  description: Job succeeded.
  pendingTime: "2025-03-31T11:29:06Z"
  pod_name: 989669fe-4313-4be2-9f4d-6d0e3ba1078c
  prev_report_states:
    gcsk8sreporter: success
    gcsreporter: success
  startTime: "2025-03-31T11:29:06Z"
  state: success
  url: https://prow.scylla-operator.scylladb.com/view/gs/scylla-operator-prow/logs/ci-scylla-operator-triage-robot-stale-issues/1906670083380350976