Skip to content

Instantly share code, notes, and snippets.

@mrjamiebowman
Last active January 13, 2021 01:23
Show Gist options
  • Save mrjamiebowman/102f9962d3deeacff79d0e51c411682c to your computer and use it in GitHub Desktop.
Save mrjamiebowman/102f9962d3deeacff79d0e51c411682c to your computer and use it in GitHub Desktop.
Kubernetes Tutorial: ConfigMap
apiVersion: v1
kind: ConfigMap
metadata:
name: appsettings
namespace: mrjamiebowman
data:
appsettings.json: |-
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"ValuesConfiguration": {
"Message": "The configuration is working!"
}
}
@mrjamiebowman
Copy link
Author

Updated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment