Skip to content

Create ConfigMaps automatically from existing docker-compose volume mounts. #1794

@eldondevat

Description

@eldondevat

What would you like to be added?

ConfigMaps can be created and mounted into pods where docker-compose mounts config files local to the host into containers.

Why is this needed?

I recently ran kompose to convert the docker-compose file from (/fleetdm/fleet) to something I could run on k3s. Several of the containers are configured via single-file mounts from the source directory of fleet into the accessory containers. While some (such as the docker socket) don't make sense, many are static configuration files (certificates, etc), which could make sense as ConfigMap contents.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions