amgdy/KonfigMap
Generate Kubernetes ConfigMap-compatible properties files from ASP.NET Core JSON configuration files
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit May 1, 2026
- License
- MIT
Pinned Snippet
uses: amgdy/konfigmap@7e1063bb8d3aabefe5054c772d3bdab18bf013a4 # no releases — HEAD as of 2026-07-10tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| input-dir | Directories to scan for ASP.NET Core JSON configuration files (comma-separated) | no | — |
| input-file | Individual ASP.NET Core JSON configuration file paths (comma-separated) | no | — |
| output-dir | Directory where the generated properties file will be written | no | . |
| output-file | Name of the generated output file | no | .env |
| prefix | Prefix prepended to each generated key (e.g., DOTNET_, ASPNETCORE_) | no | "" |
| separator | Separator used to replace ":" in hierarchical config keys (default: __) | no | __ |
| exclude | Regex pattern to exclude matching keys from output | no | "" |
| include | Regex pattern to include only matching keys in output | no | "" |
| tokenize | Replace values with tokenized placeholders for CI/CD variable substitution | no | false |
| token-prefix | Prefix for tokenized placeholders | no | $( |
| token-suffix | Suffix for tokenized placeholders | no | ) |
| leaf-only | Output only leaf (terminal) configuration values | no | true |
| sort-keys | Sort output keys alphabetically | no | false |
| dotnet-version | .NET SDK version to use | no | 10.0.x |
Outputs
| name | description |
|---|---|
| output-file | Path to the generated properties file |