Skip to content

Commit

Permalink
Update kuttl tests
Browse files Browse the repository at this point in the history
Signed-off-by: Veronika Fisarova <[email protected]>
  • Loading branch information
Deydra71 committed Feb 1, 2024
1 parent 05d6cc0 commit c4f37a2
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 10 deletions.
9 changes: 9 additions & 0 deletions config/samples/layout/cephfs/cephfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ spec:
customServiceConfig: |
[DEFAULT]
enabled_share_protocols = cephfs
tls:
api:
internal:
secretName: cert-manila-internal-svc
public:
secretName: cert-manila-public-svc
caBundleSecretName: combined-ca-bundle
manilaShares:
share0:
customServiceConfig: |
Expand All @@ -21,6 +28,8 @@ spec:
cephfs_auth_id=openstack
cephfs_cluster_name=ceph
cephfs_protocol_helper_type=CEPHFS
tls:
caBundleSecretName: combined-ca-bundle
extraMounts:
- name: v1
region: r1
Expand Down
11 changes: 11 additions & 0 deletions config/samples/layout/multibackend/multibackend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ spec:
customServiceConfig: |
[DEFAULT]
enabled_share_protocols=nfs,cephfs,cifs
tls:
api:
internal:
secretName: cert-manila-internal-svc
public:
secretName: cert-manila-public-svc
caBundleSecretName: combined-ca-bundle
manilaShares:
share0:
customServiceConfig: |
Expand All @@ -21,6 +28,8 @@ spec:
cephfs_auth_id=openstack
cephfs_cluster_name=ceph
cephfs_protocol_helper_type=CEPHFS
tls:
caBundleSecretName: combined-ca-bundle
replicas: 1
share1:
customServiceConfig: |
Expand All @@ -34,6 +43,8 @@ spec:
cephfs_cluster_name=ceph
cephfs_nfs_cluster_id=cephfs
cephfs_protocol_helper_type=NFS
tls:
caBundleSecretName: combined-ca-bundle
replicas: 1
extraMounts:
- name: v1
Expand Down
8 changes: 6 additions & 2 deletions config/samples/manila_v1beta1_manila_tls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ spec:
public:
secretName: cert-manila-public-svc
caBundleSecretName: combined-ca-bundle
manilaScheduler: {}
manilaScheduler:
tls:
caBundleSecretName: combined-ca-bundle
manilaShares:
share1: {}
share1:
tls:
caBundleSecretName: combined-ca-bundle
4 changes: 0 additions & 4 deletions test/kuttl/tests/manila-basic/01-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,6 @@ status:
reason: Ready
status: "True"
type: ServiceConfigReady
- message: Input data complete
reason: Ready
status: "True"
type: TLSInputReady
databaseHostname: openstack
manilaAPIReadyCount: 1
manilaSchedulerReadyCount: 1
Expand Down
8 changes: 4 additions & 4 deletions test/kuttl/tests/manila-multibackend/01-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,6 @@ status:
reason: Ready
status: "True"
type: ServiceConfigReady
- message: Input data complete
reason: Ready
status: "True"
type: TLSInputReady
databaseHostname: openstack
manilaAPIReadyCount: 1
manilaSchedulerReadyCount: 1
Expand Down Expand Up @@ -219,6 +215,10 @@ status:
reason: Ready
status: "True"
type: ServiceConfigReady
- message: Input data complete
reason: Ready
status: "True"
type: TLSInputReady
readyCount: 1
---
# when using image digests the containerImage URLs are SHA's so we verify them with a script
Expand Down

0 comments on commit c4f37a2

Please sign in to comment.