Metadata-Version: 1.1
Name: k8s-build-maps
Version: 0.0.4
Summary: Build a directory of Kubernetes ConfigMap/Secret manifests, inserting data from files.
Home-page: https://github.com/nathforge/k8s-build-maps
Author: Nathan Reynolds
Author-email: email@nreynolds.co.uk
License: UNKNOWN
Description: k8s-build-maps
        ==============
        
        Build a directory of Kubernetes ConfigMap/Secret manifests, inserting
        data from files.
        
        Example
        -------
        
        Given this directory:
        
        -  mymanifests/
        
           -  configmaps/
        
              -  mymap.yaml
              -  mymap.yaml.files/
        
                 -  file1
                 -  file2
        
        Running ``k8s-build-maps mymanifests mymanifests-built`` creates this
        directory:
        
        -  mymanifests-built/
        
           -  configmaps/
        
              -  mymap.yaml
        
        With values from ``mymap.yaml.files/file1`` and
        ``mymap.yaml.files/file2`` inserted into the ``data`` section of
        ``mymap.yaml`` as ``file1.yaml`` and ``file2.yaml``
        
        Installation
        ------------
        
        ::
        
           pip install k8s-build-maps
        
        Usage
        -----
        
        ::
        
           k8s-build-maps SOURCE [DEST] [--clean] [--no-clean] [-q/--quiet] [--debug]
        
        Where:
        
        - ``SOURCE``: Required. The source manifest directory.
        - ``DEST``: Optional if present in build config (see below). The destination manifest directory.
        - ``--clean/--no-clean``: Pass ``--clean`` to remove existing files in ``DEST`` before building the manifests.
        - Defaults to ``--no-clean``.
        - ``-q/--quiet``: Hide output.
        - ``--debug``: Enable debug logging.
        
        Config file
        ~~~~~~~~~~~
        
        The ``SOURCE`` directory can have an optional ``.build-maps.yaml`` config
        file. This may contain the following values:
        
        -  ``dest``: ``DEST`` path, relative to ``SOURCE``. Can be overridden on
           the command line.
        -  ``clean``: ``true`` or ``false``. Can be overridden on the command
           line by ``--clean/--no-clean``
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
