e2e: do not create a single-item list

The deployment of the Vault ConfigMap for the init-scripts job contains
a List with a single Item. This can be cleaned up to just be a ConfigMap
(without the list structure around it).

Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2021-06-30 13:54:15 +02:00 committed by mergify[bot]
parent 75f385e881
commit 8ce5ae16c1

View File

@ -60,9 +60,10 @@ spec:
name: vault-api
---
apiVersion: v1
items:
- apiVersion: v1
data:
kind: ConfigMap
metadata:
name: init-scripts
data:
init-vault.sh: |
set -x -e
@ -107,13 +108,6 @@ items:
token_reviewer_jwt=@${SERVICE_ACCOUNT_TOKEN_PATH}/token \
kubernetes_host="${K8S_HOST}" \
disable_iss_validation=true
kind: ConfigMap
metadata:
creationTimestamp: null
name: init-scripts
kind: List
metadata: {}
---
apiVersion: batch/v1
kind: Job