-
Notifications
You must be signed in to change notification settings - Fork 793
Open
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
Expected Behavior
Multiple secrets for a single service are correctly translated.
Actual Behavior
"kubectl" reports:
Error from server (Invalid): error when creating "service-deployment.yaml": Deployment.apps "service" is invalid: spec.template.spec.containers[0].volumeMounts[1].mountPath: Invalid value: "/run/secrets": must be unique
Steps To Reproduce
- Prepare first secret:
echo -n 'password1' > textfile1 - Prepare second secret:
echo -n 'password2' > textfile2 kompose convert -f compose.yamlminikube startkubectl apply -f .
Kompose Version
1.34 (cbf2835db)
Docker-Compose file
name: "test"
secrets:
"secret1":
file: "textfile1"
"secret2":
file: "textfile2"
services:
"service":
image: "hello-world:latest"
ports:
- "80:80"
secrets:
- "secret1"
- "secret2"Anything else?
No response
jancespivo and DrJume
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.