actions / actions/actions-runner-controller

"runners.actions.summerwind.dev" is invalid: metadata.annotations: Too long: must have at most 262144 bytes

Open
#1,317 16 comments 14 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
Go
Stars
6.5k
Forks
1.5k
Avg merge
2d 2h
Merged PRs (30d)
27

Description

Describe the bug

When I'm installing actions-runner-controller with:

"kubectl apply -f https://github.com/actions-runner-controller/actions-runner-controller/releases/download/v0.22.2/actions-runner-controller.yaml" command

I am getting below error:

"Error from server (Invalid): error when creating "https://github.com/actions-runner-controller/actions-runner-controller/releases/download/v0.22.2/actions-runner-controller.yaml": CustomResourceDefinition.apiextensions.k8s.io "runners.actions.summerwind.dev" is invalid: metadata.annotations: Too long: must have at most 262144 bytes"

To Reproduce

Steps to reproduce the behavior:

  1. Run 'kubectl apply -f https://github.com/actions-runner-controller/actions-runner-controller/releases/download/v0.22.2/actions-runner-controller.yaml'

Expected behavior

Resources should be installed as described in the Readme

Screenshots

image

Environment (please complete the following information):

  • actions-runner-controller 0.22.2 (latest)
  • AKS (kubernetes) version 1.22.6 (latest stable version)
  • cert-manager installed, latest version

Additional context

I have downloaded that actions-runner-controller.yaml and I can see that custom resource definition has more than 30k lines, is that right?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the v0.22.2 actions-runner-controller.yaml release manifest and inspect the CustomResourceDefinition for runners.actions.summerwind.dev, especially its metadata annotations. Reproduce the failure by applying the manifest with kubectl, then compare the generated CRD and installation guidance in the repository. Done means the release resources install without the annotation-size validation error.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, go, kubernetes
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.