apiVersion: v1
kind: Pod
metadata:
  name: demo
  labels:
    aadpodidbinding: akssandboxidentity
spec:
  containers:
  - name: demo
    image: mcr.microsoft.com/k8s/aad-pod-identity/demo:1.2
    args:
      - --subscriptionid=someazuresubscriptionid
      - --clientid=4dd51064-474b-4918-89a6-4dd2f2390567
      - --resourcegroup=Samplesandbox-test-group
    env:
      - name: MY_POD_NAME
        valueFrom:
          fieldRef:
            fieldPath: metadata.name
      - name: MY_POD_NAMESPACE
        valueFrom:
          fieldRef:
            fieldPath: metadata.namespace
      - name: MY_POD_IP
        valueFrom:
          fieldRef:
            fieldPath: status.podIP
  nodeSelector:
    kubernetes.io/os: linux