Created
October 3, 2021 15:55
-
-
Save cdennig/5d6f6bbdcc6ecc1dfa4886cbc7e3b313 to your computer and use it in GitHub Desktop.
pod.yaml
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
# contents of pod.yaml | |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: demo | |
labels: | |
aadpodidbinding: "cosmos-pod-identity" | |
spec: | |
containers: | |
- name: demo | |
image: chrisdennig/cosmos-mi:1.1 | |
env: | |
- name: Cosmos__Uri | |
value: "https://cosmos-2varraanuegcs.documents.azure.com:443/" | |
- name: Cosmos__Db | |
value: "rbacsample" | |
- name: Cosmos__Container | |
value: "data" | |
nodeSelector: | |
kubernetes.io/os: linux |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment