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

Variable substitution doesn't work in configmap/secret items from volume #3070

Closed
FogDong opened this issue Aug 7, 2020 · 0 comments · Fixed by #3071
Closed

Variable substitution doesn't work in configmap/secret items from volume #3070

FogDong opened this issue Aug 7, 2020 · 0 comments · Fixed by #3071
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@FogDong
Copy link
Member

FogDong commented Aug 7, 2020

Expected Behavior

The variable in configmap/secret items will be substituted.

Actual Behavior

I set the variable substition in configmap items but it didn't work, and the pod created failed since the items key and path can not found.

Steps to Reproduce the Problem

  1. Create a task with configmap volume.

Additional Info

  • Kubernetes version:

    Output of kubectl version:

    Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.5", GitCommit:"e6503f8d8f769ace2f338794c914a96fc335df0f", GitTreeState:"clean", BuildDate:"2020-07-04T15:01:15Z", GoVersion:"go1.14.4", Compiler:"gc", Platform:"darwin/amd64"}

  • 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}' devel from master

@FogDong FogDong added the kind/bug Categorizes issue or PR as related to a bug. label Aug 7, 2020
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