A RetroSearch Logo

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

Search Query:

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

[BUG] Creating ConfigMaps from volume mounts in windows is unsuccessful when the working directory is specified as an absolute path. · Issue #1829 · kubernetes/kompose · GitHub

Expected Behavior

The compose workdir generated by an internal function getComposeFileDir instead of the improved function transformer.GetComposeFileDir

Actual Behavior

the workdir will be generated with transformer.getComposeFileDir that uses filepath functions instead of searching for the index of "/".

Steps To Reproduce
  1. Create file in ./tls/a.key along to the docker-compose.yml file
  2. Run -f C:\another-path\docker-compose.yml convert --stdout --with-kompose-annotation=false command from another path
  3. Check if ConfigMap created
Kompose Version Docker-Compose file
version: "3"

services:
  web:
    image: nginx
    volumes:
      - ./tls/a.key:/etc/test-a-key.key
    labels:
      kompose.volume.type: configMap
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