Skip to content

Instantly share code, notes, and snippets.

@chaitanyamannem
Created September 14, 2020 02:56
Show Gist options
  • Save chaitanyamannem/6cfe68dd277be6cf2af2aabf6234e2a6 to your computer and use it in GitHub Desktop.
Save chaitanyamannem/6cfe68dd277be6cf2af2aabf6234e2a6 to your computer and use it in GitHub Desktop.
Kubernetes Config Map
apiVersion: v1
kind: ConfigMap
metadata:
name: json-configmap
namespace: default
data:
config_develop.json: |
{
"current_env" : "gcp-development-minikube",
"Directory_Type" : "folder",
"Input_Environment_Type" : "gcs",
"Input_Environment_Location" : "raw-data",
"Output_Environment_Type" : "bigquery",
"Output_Environment_Location" : "test_ds",
"report_location": "reports"
}
config_prod.json: |
{
"current_env" : "gcp-Prod",
"Directory_Type" : "folder",
"Input_Environment_Type" : "gcs",
"Input_Environment_Location" : "raw-data",
"Output_Environment_Type" : "bigquery",
"Output_Environment_Location" : "data_ds",
"report_location": "reports"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment