Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Argument list too long error in taskrun #8398

Open
AshwinSridharan0410 opened this issue Nov 21, 2024 · 0 comments
Open

Argument list too long error in taskrun #8398

AshwinSridharan0410 opened this issue Nov 21, 2024 · 0 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@AshwinSridharan0410
Copy link

Expected Behavior

I am passing a list of emails as string in a parameter and it throws this error.
Taskrun throws an error in the container place-scripts.
TaskRun fails with error exec /bin/sh: argument list too long

kind: Pod
apiVersion: v1
metadata:
name: ci-ocob29be9a17a089d22ffb04e39708d2a7173928c0940f8-pod
namespace: abc-ci
creationTimestamp: '2024-11-21T10:01:05Z'
labels:
app.kubernetes.io/managed-by: Helm
tekton.dev/memberOf: finally
tekton.dev/pipelineTask: post-processing
tekton.dev/task: post-processing
tekton.dev/taskRun: ci-ob29be9a17a08b0efac8eb1cb7a85bf93-post-processing
annotations:
custom.pipeline/version: 0.16.6
custom.task/version: v0.1.11
pipeline.tekton.dev/affinity-assistant: affinity-assistant-a50b4b7d58
pipeline.tekton.dev/release: 969f5d3
tekton.dev/displayName: post-processing
tekton.dev/platforms: linux/amd64
ownerReferences:
- apiVersion: tekton.dev/v1
kind: TaskRun
name: ci-ob29be9a17a08b0efac8eb1cb7a85bf93-post-processing
controller: true
blockOwnerDeletion: true

image

I would want to know the maximum parameter length that can be passed in the taskrun.

The parameter that I am passing is like this:-
email_recipients: '[email protected] [email protected] [email protected] [email protected] [email protected]'

Additional Info

  • Kubernetes version:

    Output of kubectl version:

(paste your output here)

image

  • Tekton Pipeline version:

    Output of tkn version or kubectl get pods -n tekton-pipelines -l app=tekton-pipelines-controller -o=jsonpath='{.items[0].metadata.labels.version}'

(paste your output here)

image

@AshwinSridharan0410 AshwinSridharan0410 added the kind/bug Categorizes issue or PR as related to a bug. label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

1 participant