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 <[email protected]>
  • Loading branch information
fmount committed Apr 2, 2024
1 parent e5cff17 commit 6c44626
Show file tree
Hide file tree
Showing 5 changed files with 527 additions and 11 deletions.
40 changes: 29 additions & 11 deletions config/samples/layout/edge/glance_v1beta1_glance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,43 @@ 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,az3:swift
replicas: 1
type: split
az1:
customServiceConfig: |
[DEFAULT]
enabled_backends=az1:rbd
replicas: 1
type: edge
edge2:
preserveJobs: false
az2:
customServiceConfig: |
[DEFAULT]
enabled_backends=az2:rbd
replicas: 1
type: edge
central:
preserveJobs: false
az3:
customServiceConfig: |
[DEFAULT]
enabled_backends = default_backend:swift
[glance_store]
default_backend = default_backend
[default_backend]
swift_store_create_container_on_put = True
swift_store_auth_version = 3
swift_store_auth_address = {{ .KeystoneInternalURL }}
swift_store_endpoint_type = internalURL
swift_store_user = service:glance
swift_store_key = {{ .ServicePassword }}
replicas: 1
type: single
type: edge
secret: osp-secret
storageClass: local-storage
storageRequest: 10G
Loading

0 comments on commit 6c44626

Please sign in to comment.