Skip to content

Commit c54d3e7

Browse files
committed
Kuttl test to cover an edge deployment scenario
This patch introduces a kuttl test that is supposed to cover an Edge use case deployment. It asserts that the required resources exist and the Pods are available. This change also updates the Edge sample to make sure it reflects the right type. Signed-off-by: Francesco Pantano <[email protected]>
1 parent ca49a11 commit c54d3e7

File tree

5 files changed

+513
-12
lines changed

5 files changed

+513
-12
lines changed

config/samples/layout/edge/glance_v1beta1_glance.yaml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,28 @@ metadata:
44
name: glance
55
spec:
66
serviceUser: glance
7-
customServiceConfig: |
8-
[DEFAULT]
9-
debug = true
107
databaseInstance: openstack
118
databaseAccount: glance
12-
keystoneEndpoint: central
9+
keystoneEndpoint: default
1310
glanceAPIs:
14-
edge1:
15-
preserveJobs: false
11+
default:
12+
customServiceConfig: |
13+
[DEFAULT]
14+
enabled_backends=default_backend:rbd,az1:rbd,az2:rbd
1615
replicas: 1
17-
type: edge
18-
edge2:
19-
preserveJobs: false
16+
type: split
17+
az1:
18+
customServiceConfig: |
19+
[DEFAULT]
20+
enabled_backends=az1:rbd
2021
replicas: 1
2122
type: edge
22-
central:
23-
preserveJobs: false
23+
az2:
24+
customServiceConfig: |
25+
[DEFAULT]
26+
enabled_backends=az2:rbd
2427
replicas: 1
25-
type: single
28+
type: edge
2629
secret: osp-secret
2730
storageClass: local-storage
2831
storageRequest: 10G

0 commit comments

Comments
 (0)