def filter_spartakus(spec):
  """Filter our Spartakus from KfDef spec.

  Args:
    spec: KfDef spec

  Returns:
    spec: Filtered KfDef spec
  """
  for i, app in enumerate(spec["applications"]):
    if app["name"] == "spartakus":
      spec["applications"].pop(i)
      break
  return spec