{
  "schemaVersion": "ebb.rule.v1",
  "id": "kubernetes.events-k8s-io.event.v1beta1.removed",
  "ecosystem": "kubernetes",
  "purl": "pkg:generic/kubernetes/events.k8s.io/Event",
  "affectedVersions": "vers:semver/1.0.0-beta.1",
  "event": "removed",
  "severity": "high",
  "title": "Event events.k8s.io/v1beta1 is no longer served",
  "summary": "The Kubernetes Deprecated API Migration Guide states that the events.k8s.io/v1beta1 API version of Event is no longer served as of v1.25, which was released on 2022-08-23.",
  "replacement": "events.k8s.io/v1 Event, available since v1.19",
  "deadline": "2022-08-23",
  "sources": [
    {
      "title": "Kubernetes Deprecated API Migration Guide",
      "url": "https://kubernetes.io/docs/reference/using-api/deprecation-guide/",
      "accessedAt": "2026-10-17"
    },
    {
      "title": "Kubernetes v1.25: Combiner (release announcement, 2022-08-23)",
      "url": "https://kubernetes.io/blog/2022/08/23/kubernetes-v1-25-release/",
      "accessedAt": "2026-10-17"
    }
  ],
  "provenance": {
    "observedAt": "2026-10-20",
    "reviewedAt": "2026-10-20",
    "reviewer": "arminazimi"
  },
  "migration": {
    "constraints": [
      "Keep the resource's behavior unchanged: the same name, namespace, labels, and spec semantics.",
      "The replacement (events.k8s.io/v1 Event, available since v1.19) can differ in required fields or field names from the removed version; read the Event entry in the Kubernetes Deprecated API Migration Guide and convert the manifest accordingly."
    ],
    "steps": [
      {
        "id": "update-api-version",
        "title": "Change the Event apiVersion",
        "instructions": "Change the reported `apiVersion` to the replacement version (events.k8s.io/v1 Event, available since v1.19).",
        "targets": "declaration"
      },
      {
        "id": "convert-fields",
        "title": "Convert fields the new version changed",
        "instructions": "Apply the field changes the migration guide lists for Event, then check the manifest still expresses the same intent.",
        "targets": "declaration"
      },
      {
        "id": "align-other-manifests",
        "title": "Align other Event declarations",
        "instructions": "Update every other manifest, Helm template, and kustomize patch or target that names the old Event API version, so the repository agrees.",
        "targets": "all"
      }
    ],
    "verification": [
      {
        "command": "kubeconform -strict -summary <manifest-paths>",
        "purpose": "Validate the migrated manifests against the schemas of the target Kubernetes version."
      },
      {
        "command": "kubectl apply --dry-run=server -f <manifest-path>",
        "purpose": "Ask a cluster on the target version to accept the migrated manifest without applying it."
      },
      {
        "command": "helm template <chart-path> | kubeconform -strict -",
        "purpose": "For a Helm chart, render it and validate the output."
      }
    ]
  }
}
