Open trent-abc opened 1 year ago
Hello! Thank you for filing an issue.
The maintainers will triage your issue shortly.
In the meantime, please take a look at the troubleshooting guide for bug reports.
If this is a feature request, please review our contribution guidelines.
@trent-abc try to apply the CRD's with --server-side should solve the Too long error kubectl apply -f --server-side --force-conflicts https://github.com/actions/actions-runner-controller/releases/download/v0.22.0/actions-runner-controller.yaml
@orilani Thanks that worked, then this ticket would be to modify the quickstart guide with exactly that command, do you know why it wasn't included, does it make sense for some use cases to not use --server-side
? Maybe I can make a PR if I have more context.
In case anyone is looking for the solution with ArgoCD:
apiVersion: argoproj.io/v1alpha1
kind: Application
spec:
syncPolicy:
syncOptions:
- ServerSideApply=true
Personally I'm using this paired with Helm subcharts, so this works nicely :)
@trent-abc try to apply the CRD's with --server-side should solve the Too long error kubectl apply -f --server-side --force-conflicts https://github.com/actions/actions-runner-controller/releases/download/v0.22.0/actions-runner-controller.yaml
This gives me a different error
error: Unexpected args: [https://github.com/actions/actions-runner-controller/releases/download/v0.22.0/actions-runner-controller.yaml] See 'kubectl apply -h' for help and examples
Checks
Controller Version
v0.22.0 & v0.27.3
Helm Chart Version
No response
CertManager Version
v1.11.0
Deployment Method
Other
cert-manager installation
I followed the quickstart guide, for certmanager installation see below output:
Checks
Resource Definitions
To Reproduce
Describe the bug
Exits status 1 with output:
Error from server (Invalid): error when creating "https://github.com/actions/actions-runner-controller/releases/download/v0.22.0/actions-runner-controller.yaml": CustomResourceDefinition.apiextensions.k8s.io "runnerdeployments.actions.summerwind.dev" is invalid: metadata.annotations: Too long: must have at most 262144 bytes Error from server (Invalid): error when creating "https://github.com/actions/actions-runner-controller/releases/download/v0.22.0/actions-runner-controller.yaml": CustomResourceDefinition.apiextensions.k8s.io "runnerreplicasets.actions.summerwind.dev" is invalid: metadata.annotations: Too long: must have at most 262144 bytes Error from server (Invalid): error when creating "https://github.com/actions/actions-runner-controller/releases/download/v0.22.0/actions-runner-controller.yaml": CustomResourceDefinition.apiextensions.k8s.io "runners.actions.summerwind.dev" is invalid: metadata.annotations: Too long: must have at most 262144 bytes
Describe the expected behavior
Exit 0
Whole Controller Logs
Additional Context
Same thing happened for v0.27.3: