-
Notifications
You must be signed in to change notification settings - Fork 772
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
[BUG] must be a mapping #1986
Labels
kind/bug
Categorizes issue or PR as related to a bug.
Comments
full error seems to be FATA Unable to load files: validating /home/user/docker-compose.yaml: services.vault-agent.depends_on.vault must be a mapping |
Hey @az-z, can you provide full config of your docker-compose file. |
I have used docker-compose file from here. And I am not getting any error. Ouput INFO Kubernetes file "redis-leader-service.yaml" created
INFO Kubernetes file "redis-replica-service.yaml" created
INFO Kubernetes file "web-tcp-service.yaml" created
INFO Kubernetes file "redis-leader-deployment.yaml" created
INFO Kubernetes file "redis-replica-deployment.yaml" created
INFO Kubernetes file "web-deployment.yaml" created |
Utkarsh,
That's been quite a while ago.
I believe the compose referenced in the ticket triggered the issue.
…On Thu, Mar 6, 2025, 12:56 AM Utkarsh Singh ***@***.***> wrote:
I have used docker-compose file from here
<https://kubernetes.io/docs/tasks/configure-pod-container/translate-compose-kubernetes/>.
And I am not getting any error.
Ouput
INFO Kubernetes file "redis-leader-service.yaml" created
INFO Kubernetes file "redis-replica-service.yaml" created
INFO Kubernetes file "web-tcp-service.yaml" created
INFO Kubernetes file "redis-leader-deployment.yaml" created
INFO Kubernetes file "redis-replica-deployment.yaml" created
INFO Kubernetes file "web-deployment.yaml" created
—
Reply to this email directly, view it on GitHub
<#1986 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGHHXIBFTRZPPAHJUSVJUD2S7PSJAVCNFSM6AAAAABWDO3SMKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMBSHA4DKOJSGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
[image: utkarsh-singh1]*utkarsh-singh1* left a comment
(kubernetes/kompose#1986)
<#1986 (comment)>
I have used docker-compose file from here
<https://kubernetes.io/docs/tasks/configure-pod-container/translate-compose-kubernetes/>.
And I am not getting any error.
Ouput
INFO Kubernetes file "redis-leader-service.yaml" created
INFO Kubernetes file "redis-replica-service.yaml" created
INFO Kubernetes file "web-tcp-service.yaml" created
INFO Kubernetes file "redis-leader-deployment.yaml" created
INFO Kubernetes file "redis-replica-deployment.yaml" created
INFO Kubernetes file "web-deployment.yaml" created
—
Reply to this email directly, view it on GitHub
<#1986 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGHHXIBFTRZPPAHJUSVJUD2S7PSJAVCNFSM6AAAAABWDO3SMKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMBSHA4DKOJSGQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
hello,
thank you for the project!
Expected behavior :
expect to have docker-compose converted into k3s/k8s deployment file
Actual Behavior
Steps To Reproduce
curl -L https://github.com/kubernetes/kompose/releases/download/v1.35.0/kompose-linux-amd64 -o ~/bin/kompose && chmod +x ~/bin/kompose
cd playground
kompose -f docker-compose.yml convert
Kompose Version
Docker-Compose file
Anything else?
I chopped down the compose file just to be able to reproduce the conversion error.
The text was updated successfully, but these errors were encountered: