apiVersion: v1
kind: Pod
metadata:
  name: operator-sdk-test
  labels:
    app: operator-sdk-test
spec:
  containers:
    - image: E2E_TEST_IMAGE
      imagePullPolicy: Always
      name: operator-sdk-test
      volumeMounts:
        - mountPath: /etc/config
          name: kube-config-volume
  restartPolicy: Never
  serviceAccount: mongodb-kubernetes-operator
  volumes:
    - configMap:
        name: kube-config
      name: kube-config-volume
