amgdy/KonfigMap

Generate Kubernetes ConfigMap-compatible properties files from ASP.NET Core JSON configuration files

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit May 1, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: amgdy/konfigmap@7e1063bb8d3aabefe5054c772d3bdab18bf013a4 # no releases — HEAD as of 2026-07-10

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
input-dirDirectories to scan for ASP.NET Core JSON configuration files (comma-separated)no
input-fileIndividual ASP.NET Core JSON configuration file paths (comma-separated)no
output-dirDirectory where the generated properties file will be writtenno.
output-fileName of the generated output fileno.env
prefixPrefix prepended to each generated key (e.g., DOTNET_, ASPNETCORE_)no""
separatorSeparator used to replace ":" in hierarchical config keys (default: __)no__
excludeRegex pattern to exclude matching keys from outputno""
includeRegex pattern to include only matching keys in outputno""
tokenizeReplace values with tokenized placeholders for CI/CD variable substitutionnofalse
token-prefixPrefix for tokenized placeholdersno$(
token-suffixSuffix for tokenized placeholdersno)
leaf-onlyOutput only leaf (terminal) configuration valuesnotrue
sort-keysSort output keys alphabeticallynofalse
dotnet-version.NET SDK version to useno10.0.x
namedescription
output-filePath to the generated properties file