We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 trying to mount a configmap with:
$ kn service update heloapp -n app --mount /my/path=cm:test
it gives error
Error: giving up after 3 retries: admission webhook "validation.webhook.serving.knative.dev" denied the request: validation failed: invalid value: my.path-1f5d5125: spec.template.spec.volumes[1].name
It should work and mount the configmap onto /my/path
/my/path
When mounting to folder on root, like /mypath, it work:
/mypath
$ kn service update heloapp -n app --mount /mypath=cm:test Updating Service 'heloapp' in namespace 'app': ...
test
kn service create hello --image gcr.io/cloudrun/hello
mypath
kn service update hello --mount /my/path=cm:test
Version: v20200728-4c246812 Build Date: 2020-07-28 10:36:25 Git Revision: 4c246812 Supported APIs: * Serving - serving.knative.dev/v1 (knative-serving v0.16.1-0.20200715073232-81d40bfc82a6) * Eventing - sources.knative.dev/v1alpha2 (knative-eventing v0.16.1-0.20200715062032-28f9f61e6131) - eventing.knative.dev/v1beta1 (knative-eventing v0.16.1-0.20200715062032-28f9f61e6131)
0.13.2
The text was updated successfully, but these errors were encountered:
The volume spec requires the volume to be DNS_LABEL, which only allows - in the names. We are currently replacing all the / with . (except root /).
-
/
.
Sorry, something went wrong.
/assign
navidshaikh
Successfully merging a pull request may close this issue.
Bug report
When trying to mount a configmap with:
it gives error
Expected behavior
It should work and mount the configmap onto
/my/path
When mounting to folder on root, like
/mypath
, it work:Steps to reproduce the problem
test
kn service create hello --image gcr.io/cloudrun/hello
mypath
:kn service update hello --mount /my/path=cm:test
kn version
Knative (serving/eventing) version
The text was updated successfully, but these errors were encountered: