Skip to content

Transforms on-the-fly Kubernetes ConfigMaps YAMLs into JSON ready files to be used as Config in Azure App Service Apps

License

Notifications You must be signed in to change notification settings

mtenrero/k8sConfigMap-AzAppService

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k8sconfigmap-azappservice

made-with-Go Latest CI Status GitHub go.mod Go version of a Go module Coverage Status Go Report Card Latest Release

This CLI executable program, transforms a given Kubernetes ConfigMap into a JSON object ready to consume by Azure AppService container as environment variables.

It's quite useful for avoiding to maintain multiple config files if you have hybrid deployment with kubernetes and Azure App Service containers.

Diagram

Usage

Download the latest binary for your platform, (its written in go and doesn't need any dependency, it's all compiled!)

Execute it in your CI/CD pipeline:

./k8sconfigmap-azappservice -path <k8s-configmap-file> -out <json-output-file>

Contributing

PR! are accepted. Its planned to improve the program for supporting multiple ConfigMaps in the same file and the ability to specify environment-scoped variables for multiple apps deployment inside the same Azure App Service.

About

Transforms on-the-fly Kubernetes ConfigMaps YAMLs into JSON ready files to be used as Config in Azure App Service Apps

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published