Metadata-Version: 2.1
Name: envfrom
Version: 0.1.0
Summary: Call child process with custom environment
Home-page: http://github.com/rambobinator/envfrom
Author: rm_ass
Author-email: contact@romanmasse.com
License: MIT
Description: # envfrom
        
        Kubernetes [Secrets](https://kubernetes.io/docs/concepts/configuration/secret/) or [ConfigMap](https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/#create-a-configmap) are commonly used to run apps deployed in pods.
        But what about running this app locally with those same variables ? envfrom meet this need among others.
        
        ### Installation
            pip install envfrom
        
        ### Usage
        
            usage: envfrom [-h] {cli,dir,kube} ... child
            
        	Call child process with custom environment
        	
        	positional arguments:
        	  {cli,dir,kube}  env source
        	    cli           Dict values: FOO=BAR BAR=FOO
        	    dir           Set environment according to files in a specified path
        	    kube          Mirror specified kubernetes ressource volume keys (decoded)
        	  child           child process
        
        	optional arguments:
        	  -h, --help      show this help message and exit
        
        ### Example
        Assuming that you already have the following secret created on your default namespace :
        
            
        	apiVersion: v1
        	kind: Secret
        	metadata:
        	  name: mysecret
        	type: Opaque
        	data:
        	  username: YWRtaW4=
        	
        Running :
        
            env -i envfrom kube secrets mysecret env
        
        Should output :
        
            username=admin
        
        
        
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Description-Content-Type: text/markdown
