A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/kubernetes/kompose/issues/1683 below:

[BUG] pod env_file does not create configmaps · Issue #1683 · kubernetes/kompose · GitHub

Expected Behavior

docker-compose:

version: "3"

services:
  pod:
    image: busybox
    env_file:
      - "envs/pod.env"
    restart: "no"

  deployment:
    image: busybox
    env_file:
      - "envs/deployment.env"
    restart: "always"
Actual Behavior

Creates only 1 ConfigMap: envs-deployment-env

Steps To Reproduce
  1. Create envs directory
  2. Create 2 files envs/deployment.env and envs/pod.env with the contents of TEST=TEST
  3. Run command: kompose convert
Kompose Version
1.30.0 
Branch: main
Commit: 17fbe3b4632cca0f61a7fda5f3b91034cdf5c5e4
Docker-Compose file
version: "3"

services:
  pod:
    image: busybox
    env_file:
      - "envs/pod.env"
    restart: "no"

  deployment:
    image: busybox
    env_file:
      - "envs/deployment.env"
    restart: "always"
Anything else?

No response


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4