Skip to content

Instantly share code, notes, and snippets.

@infinitydon
Created March 10, 2019 12:11
Show Gist options
  • Save infinitydon/85d33f7041dd2a61fb5fe1e633d5b3a9 to your computer and use it in GitHub Desktop.
Save infinitydon/85d33f7041dd2a61fb5fe1e633d5b3a9 to your computer and use it in GitHub Desktop.
configmap_issue_fb
apiVersion: v1
kind: ConfigMap
metadata:
name: continuousdeployment
data:
config.json: "{ \n\"test\":\"1232\", \n\"apiUrl\":\"http://applictaion.cloudapp.net/\"\n}\n"
apiVersion: v1
kind: Pod
metadata:
name: nginx-test
spec:
containers:
- name: nginx
image: nginx
volumeMounts:
- name: config-volume
mountPath: /usr/share/nginx/html
volumes:
- name: config-volume
configMap:
name: continuousdeployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment