Skip to content

Instantly share code, notes, and snippets.

@EvilFreelancer
Created April 25, 2023 23:11
Show Gist options
  • Select an option

  • Save EvilFreelancer/1e785a98e333aa6a0edb26c42e7f8b70 to your computer and use it in GitHub Desktop.

Select an option

Save EvilFreelancer/1e785a98e333aa6a0edb26c42e7f8b70 to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: ConfigMap
metadata:
name: my-deployment-config
namespace: my-namespace
data:
app-config.json: |
{
"database": {
"host": "my-database-service",
"port": 5432,
"user": "my-user",
"password": "my-password"
},
"app": {
"logLevel": "info",
"port": 8080
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment