Created
November 27, 2025 12:34
-
-
Save antweiss/5f67738bc37d5897f78e9e324297a13c to your computer and use it in GitHub Desktop.
This file contains hidden or 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: | |
| creationTimestamp: null | |
| labels: | |
| run: mypod | |
| name: mypod | |
| spec: | |
| volumes: | |
| - name: config | |
| configMap: | |
| name: myconfig | |
| containers: | |
| - args: | |
| - cat | |
| - /configFiles/myconfig.ini | |
| image: alpine | |
| name: mypod | |
| volumeMounts: | |
| - name: config | |
| mountPath: /configFiles | |
| env: | |
| - name: MYVAR | |
| value: my-nice-value | |
| - name: MYPODNS | |
| valueFrom: | |
| fieldRef: | |
| fieldPath: metadata.namespace |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment