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

When debug is not turned on correctly, redundant volumes appear #7787

Open
cugykw opened this issue Mar 21, 2024 · 1 comment · May be fixed by #7788
Open

When debug is not turned on correctly, redundant volumes appear #7787

cugykw opened this issue Mar 21, 2024 · 1 comment · May be fixed by #7788
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@cugykw
Copy link
Contributor

cugykw commented Mar 21, 2024

Actual Behavior

I turned on debug mode on our platform, but did not fill in the specific fields,
resulting in debug.breakpoints.onFailure being empty. At this time, the debug
mode is not actually turned on correctly. I noticed some issues.

image

  1. When debug is not turned on correctly, volumes related to debug mode appear.
  2. Tips can be added to prevent incorrect setting of debug mode.

Steps to Reproduce the Problem

  1. The following is the simplest example.
apiVersion: tekton.dev/v1
kind: TaskRun
metadata:
  name: debug-example
spec:
  debug:
    breakpoints:
      onFailure: ""
  taskSpec:
    steps:
    - image: centos7:release
      imagePullPolicy: Always
      name: start-debug
      script: |
        echo "hello"

Additional Info

tekton: 0.53.0

@cugykw cugykw added the kind/bug Categorizes issue or PR as related to a bug. label Mar 21, 2024
@cugykw
Copy link
Contributor Author

cugykw commented Mar 21, 2024

/assign

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

Successfully merging a pull request may close this issue.

1 participant