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.yaml
minikube start
kubectl apply -f .
Kompose Version
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
Expected Behavior
Multiple secrets for a single service are correctly translated.
Actual Behavior
"kubectl" reports:
Steps To Reproduce
echo -n 'password1' > textfile1echo -n 'password2' > textfile2kompose convert -f compose.yamlminikube startkubectl apply -f .Kompose Version
Docker-Compose file
Anything else?
No response