apiVersion: v1
kind: Pod
metadata:
  annotations:
    k8tz.io/injected: "true"
    k8tz.io/timezone: UTC
  name: nginx
spec:
  containers:
  - env:
    - name: TZ
      value: UTC
    image: nginx
    name: nginx
    volumeMounts:
    - mountPath: /etc/localtime
      name: k8tz
      readOnly: true
      subPath: UTC
    - mountPath: /usr/share/zoneinfo
      name: k8tz
      readOnly: true
  initContainers:
  - image: test:0.0.0
    name: testInitContainer
  - args:
    - bootstrap
    image: testimage:0.0.0
    name: k8tz
    resources: {}
    volumeMounts:
    - mountPath: /mnt/zoneinfo
      name: k8tz
  volumes:
  - emptyDir: {}
    name: k8tz
