Skip to content

Instantly share code, notes, and snippets.

@cdennig
Created October 3, 2021 15:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cdennig/5d6f6bbdcc6ecc1dfa4886cbc7e3b313 to your computer and use it in GitHub Desktop.
Save cdennig/5d6f6bbdcc6ecc1dfa4886cbc7e3b313 to your computer and use it in GitHub Desktop.
pod.yaml
# 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