Skip to content

Commit

Permalink
Kuttl test to cover an edge deployment scenario
Browse files Browse the repository at this point in the history
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 <fpantano@redhat.com>
  • Loading branch information
fmount committed Apr 2, 2024
1 parent e5cff17 commit 82d7669
Show file tree
Hide file tree
Showing 5 changed files with 513 additions and 12 deletions.
27 changes: 15 additions & 12 deletions config/samples/layout/edge/glance_v1beta1_glance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,28 @@ metadata:
name: glance
spec:
serviceUser: glance
customServiceConfig: |
[DEFAULT]
debug = true
databaseInstance: openstack
databaseAccount: glance
keystoneEndpoint: central
keystoneEndpoint: default
glanceAPIs:
edge1:
preserveJobs: false
default:
customServiceConfig: |
[DEFAULT]
enabled_backends=default_backend:rbd,az1:rbd,az2:rbd
replicas: 1
type: edge
edge2:
preserveJobs: false
type: split
az1:
customServiceConfig: |
[DEFAULT]
enabled_backends=az1:rbd
replicas: 1
type: edge
central:
preserveJobs: false
az2:
customServiceConfig: |
[DEFAULT]
enabled_backends=az2:rbd
replicas: 1
type: single
type: edge
secret: osp-secret
storageClass: local-storage
storageRequest: 10G
Loading

0 comments on commit 82d7669

Please sign in to comment.