Change deployment strategy on test manifests (#1985)

We see a rare flake where our registry test deployment is using a different cert
to what we saved in a CM in our cluster.
As an attempt to mitigate, lets ensure that during rollout old pods are first gone, and only then new ones are introduced.

Signed-off-by: Alex Kalenyuk <akalenyu@redhat.com>
This commit is contained in:
akalenyu 2021-10-12 15:54:59 +03:00 committed by GitHub
parent af72cfe171
commit 0c60ff58cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 0 deletions

View File

@ -7,6 +7,8 @@ metadata:
labels:
cdi.kubevirt.io/testing: ""
spec:
strategy:
type: Recreate
selector:
matchLabels:
name: cdi-bad-webserver

View File

@ -7,6 +7,8 @@ metadata:
labels:
cdi.kubevirt.io/testing: ""
spec:
strategy:
type: Recreate
selector:
matchLabels:
name: cdi-file-host

View File

@ -7,6 +7,8 @@ metadata:
labels:
cdi.kubevirt.io/testing: ""
spec:
strategy:
type: Recreate
replicas: 1
selector:
matchLabels:

View File

@ -6,6 +6,8 @@ metadata:
labels:
cdi.kubevirt.io/testing: ""
spec:
strategy:
type: Recreate
selector:
matchLabels:
name: cdi-docker-registry-host

View File

@ -7,6 +7,8 @@ metadata:
labels:
cdi.kubevirt.io/testing: ""
spec:
strategy:
type: Recreate
replicas: 1
selector:
matchLabels:

View File

@ -7,6 +7,8 @@ metadata:
labels:
cdi.kubevirt.io/testing: ""
spec:
strategy:
type: Recreate
selector:
matchLabels:
app: vcenter