mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
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:
parent
75f385e881
commit
8ce5ae16c1
@ -60,8 +60,9 @@ spec:
|
||||
name: vault-api
|
||||
---
|
||||
apiVersion: v1
|
||||
items:
|
||||
- apiVersion: v1
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user