apiVersion: v1
kind: Pod
metadata:
  annotations:
    sidecar.opentelemetry.io/inject: "true"
  labels:
    app: my-pod-with-sidecar
spec:
  containers:
  - name: myapp
  - name: otc-container
    env:
    - name: POD_NAME
    - name: OTEL_RESOURCE_ATTRIBUTES_POD_NAME
    - name: OTEL_RESOURCE_ATTRIBUTES_POD_UID
    - name: OTEL_RESOURCE_ATTRIBUTES_NODE_NAME
    - name: OTEL_RESOURCE_ATTRIBUTES
status:
  phase: Running
