---
apiVersion: v1
kind: ConfigMap
metadata:
  name: test-host-aliases
  namespace: kube-system
data:
  test-tumblr1: |
    name: host-aliases
    hostAliases:
      - ip: 1.2.3.4
        hostnames:
          - some.domain.com
          - some.other-domain.com
      - ip: 4.3.2.1
        hostnames:
          - another.domain.com
      - ip: 4.3.2.1
        hostnames:
          - yetanother.domain.com
      - ip: 2.3.4.5
        hostnames:
          - another.domain.com
      - ip: 4.3.2.1
      - ip: 4.3.2.1
        hostnames:
    env:
      - name: DATACENTER
        value: foo
      - name: FROM_INJECTOR
        value: bar
    containers:
    - name: sidecar-add-vm
      image: nginx:1.12.2
      imagePullPolicy: IfNotPresent
      env:
        - name: DATACENTER
          value: bf2
      ports:
        - containerPort: 80
