-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
HostPath is currently the only supported VolumeSource #7626
Comments
Sorry, wrong bug number (ignore "macos: podman 2.0.6 remote support is broken") |
Hi. What does this mean? |
A friendly reminder that this issue had no activity for 30 days. |
@djnotes I also ran into this issue and found a way to workaround it: I had this in my YAML at volumes:
- name: master-secret-volume
secret:
secretName: master-secret In Kubernetes when there's a secret called Since volumes:
- name: master-secret-volume
hostPath:
path: master/k8s/secret.yaml I saw a similar thing in your YAML volumes:
- name: webapp_initdb
hostPath:
path: /home/johndoe/src/webapp/data
type: Directory
- name: webapp_dbvol It's just a guess, but I think the error |
@mheon this should be part of the volume plugin work correct? |
No, this is not part of the volume plugin work. This is entirely separate and lives exclusively in |
A friendly reminder that this issue had no activity for 30 days. |
We could use some help from community to fix this one. |
Pod: Db: Web: Generate: Stop and remove pod: Play kube file:
Seems like the new version has fixed the problem. Hmm, at least we can say it is apparently skipping dealing with named volumes. As you can see, there is no mention of the db named volume in the kube file. So, maybe this can be a close. |
This is half-fixed at present. We have added support for additional volume types to |
This did not make the cut for 3.0 release. Hope to work on it afterwards. |
A friendly reminder that this issue had no activity for 30 days. |
A friendly reminder that this issue had no activity for 30 days. |
@umohnani8 Any chance you could look at this? |
At this point this is probably a documentation task - we need to document that these additional volume types are supported (I think we also support a few other types in the |
A friendly reminder that this issue had no activity for 30 days. |
@EduardoVega Interested in working on this? |
@rhatdan let me work on this. |
While you are in there want to look at #9763 |
I'll do that |
As of Podman version 3.1.2 I can confirm that two volume sources are supported by Documentation does mention this
So Podman can
So I believe that this issue could be closed :-) |
I am trying to create a pod and start my services on it using Podman play kube deploy.yaml. Since I am using MariaDB database image, I need to pass in a named volume, but Podman does not seem to support it. Here's my deployment.yaml:
The error I get:
The text was updated successfully, but these errors were encountered: