mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-10 00:10:20 +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,9 +60,10 @@ spec:
|
|||||||
name: vault-api
|
name: vault-api
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
items:
|
kind: ConfigMap
|
||||||
- apiVersion: v1
|
metadata:
|
||||||
data:
|
name: init-scripts
|
||||||
|
data:
|
||||||
init-vault.sh: |
|
init-vault.sh: |
|
||||||
set -x -e
|
set -x -e
|
||||||
|
|
||||||
@ -107,13 +108,6 @@ items:
|
|||||||
token_reviewer_jwt=@${SERVICE_ACCOUNT_TOKEN_PATH}/token \
|
token_reviewer_jwt=@${SERVICE_ACCOUNT_TOKEN_PATH}/token \
|
||||||
kubernetes_host="${K8S_HOST}" \
|
kubernetes_host="${K8S_HOST}" \
|
||||||
disable_iss_validation=true
|
disable_iss_validation=true
|
||||||
kind: ConfigMap
|
|
||||||
metadata:
|
|
||||||
creationTimestamp: null
|
|
||||||
name: init-scripts
|
|
||||||
kind: List
|
|
||||||
metadata: {}
|
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: batch/v1
|
apiVersion: batch/v1
|
||||||
kind: Job
|
kind: Job
|
||||||
|
Loading…
Reference in New Issue
Block a user