apiVersion: v1
kind: Pod
metadata:
  annotations:
    helm.sh/hook: test
    helm.sh/hook-delete-policy: hook-succeeded,hook-failed,before-hook-creation
  name: RELEASE-NAME-webservice-test-runner-bs1dg
  namespace: default
spec:
  containers:
  - command:
    - sh
    - /tests/test_login
    image: registry.gitlab.com/gitlab-org/build/cng/gitlab-webservice-ee:v14.7.0
    name: test-runner
    volumeMounts:
    - mountPath: /tests
      name: tests
    - mountPath: /initial_root_password
      name: root-password
      readOnly: true
      subPath: initial_root_password
  restartPolicy: Never
  volumes:
  - configMap:
      name: RELEASE-NAME-webservice-tests
    name: tests
  - name: root-password
    secret:
      items:
      - key: password
        path: initial_root_password
      secretName: RELEASE-NAME-gitlab-initial-root-password
