kompose icon indicating copy to clipboard operation
kompose copied to clipboard

[BUG] mapping format of services[].env_file is not supported

Open jancespivo opened this issue 10 months ago • 1 comments

Expected Behavior

Mapping format as it is described https://docs.docker.com/compose/compose-file/05-services/#env_file should be supported.

env_file:
  - path: ./default.env
    required: true # default
  - path: ./override.env
    required: false

Actual Behavior

FATA Unable to load files: validating [REDACTED]/docker-compose.yml: services.kuard.env_file.0 must be a string

Steps To Reproduce

No response

Kompose Version

1.32.0 (765fde254)

Docker-Compose file

services:
  kuard:
    image: gcr.io/kuar-demo/kuard-amd64:blue
    env_file:
      - path: ./default.env
        required: true # default
      - path: ./override.env
        required: false
    ports:
      - target: 8080
        published: 8080

Anything else?

No response

jancespivo avatar Apr 16 '24 17:04 jancespivo

related to pr #1838

sosan avatar Apr 17 '24 23:04 sosan

The Kubernetes project currently lacks enough contributors to adequately respond to all issues.

This bot triages un-triaged issues according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot avatar Jul 16 '24 23:07 k8s-triage-robot