Created
December 2, 2022 10:53
-
-
Save anjanashankar9/217575ccdc9a15e9ff72d0d5c29e0286 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: configmap-demo-pod | |
spec: | |
containers: | |
- name: demo | |
image: alpine | |
command: ["sleep", "3600"] | |
volumeMounts: | |
- name: config | |
mountPath: "/config" | |
readOnly: true | |
volumes: | |
- name: config | |
configMap: | |
name: example-config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment