-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3963e05
commit f94d80a
Showing
16 changed files
with
956 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
test/kuttl/test-suites/cell-delete-tests/common/cleanup-nova.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: kuttl.dev/v1beta1 | ||
kind: TestStep | ||
delete: | ||
- apiVersion: nova.openstack.org/v1beta1 | ||
kind: Nova | ||
name: nova-kuttl-cell | ||
namespace: nova-kuttl-cell-delete-tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: kuttl.dev/v1beta1 | ||
kind: TestSuite | ||
reportFormat: JSON | ||
reportName: kuttl-default-results | ||
namespace: nova-kuttl-cell-delete-tests | ||
# we could set this lower, but the initial image pull can take a while | ||
timeout: 300 | ||
parallel: 1 | ||
skipDelete: true | ||
testDirs: | ||
- test/kuttl/test-suites/cell-delete-tests/ | ||
suppress: | ||
- events | ||
artifactsDir: test/kuttl/test-suites/cell-delete-tests/output |
21 changes: 21 additions & 0 deletions
21
test/kuttl/test-suites/cell-delete-tests/deps/OpenStackControlPlane.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
apiVersion: core.openstack.org/v1beta1 | ||
kind: OpenStackControlPlane | ||
metadata: | ||
name: openstack | ||
spec: | ||
storageClass: "crc-csi-hostpath-provisioner" | ||
tls: | ||
ingress: | ||
enabled: true | ||
podLevel: | ||
enabled: false | ||
ironic: | ||
enabled: false | ||
template: | ||
ironicConductors: [] | ||
manila: | ||
enabled: false | ||
template: | ||
manilaShares: {} | ||
horizon: | ||
enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
apiVersion: core.openstack.org/v1beta1 | ||
kind: OpenStackControlPlane | ||
metadata: | ||
name: openstack | ||
spec: | ||
mariadb: | ||
enabled: false | ||
galera: | ||
enabled: true | ||
templates: | ||
openstack: | ||
storageRequest: 500M | ||
openstack-cell1: | ||
storageRequest: 500M | ||
rabbitmq: | ||
templates: | ||
rabbitmq: | ||
replicas: 1 | ||
rabbitmq-cell1: | ||
replicas: 1 | ||
memcached: | ||
templates: | ||
memcached: | ||
replicas: 1 | ||
ovn: | ||
enabled: false | ||
template: | ||
ovnController: | ||
external-ids: | ||
ovn-encap-type: geneve | ||
ovs: | ||
enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
apiVersion: core.openstack.org/v1beta1 | ||
kind: OpenStackControlPlane | ||
metadata: | ||
name: openstack | ||
spec: | ||
keystone: | ||
template: | ||
databaseInstance: openstack | ||
secret: osp-secret |
43 changes: 43 additions & 0 deletions
43
test/kuttl/test-suites/cell-delete-tests/deps/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
namespace: nova-kuttl-cell-delete-tests | ||
|
||
secretGenerator: | ||
- literals: | ||
- AdminPassword=password | ||
- DbRootPassword=password | ||
- DatabasePassword=password | ||
- KeystoneDatabasePassword=password | ||
- PlacementPassword=password | ||
- PlacementDatabasePassword=password | ||
- GlancePassword=password | ||
- GlanceDatabasePassword=password | ||
- NeutronPassword=password | ||
- NeutronDatabasePassword=password | ||
- NovaPassword=password | ||
- NovaAPIDatabasePassword=password | ||
- NovaCell0DatabasePassword=password | ||
- NovaCell1DatabasePassword=password | ||
- MetadataSecret=42 | ||
name: osp-secret | ||
generatorOptions: | ||
disableNameSuffixHash: true | ||
labels: | ||
type: osp-secret | ||
|
||
resources: | ||
- namespace.yaml | ||
- OpenStackControlPlane.yaml | ||
|
||
patches: | ||
- patch: |- | ||
apiVersion: core.openstack.org/v1beta1 | ||
kind: OpenStackControlPlane | ||
metadata: | ||
name: openstack | ||
spec: | ||
secret: osp-secret | ||
- path: infra.yaml | ||
- path: keystone.yaml | ||
- path: placement.yaml | ||
- path: nova.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: nova-kuttl-cell-delete-tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: core.openstack.org/v1beta1 | ||
kind: OpenStackControlPlane | ||
metadata: | ||
name: openstack | ||
spec: | ||
nova: | ||
enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
apiVersion: core.openstack.org/v1beta1 | ||
kind: OpenStackControlPlane | ||
metadata: | ||
name: openstack | ||
spec: | ||
placement: | ||
template: | ||
databaseInstance: openstack | ||
secret: osp-secret |
1 change: 1 addition & 0 deletions
1
test/kuttl/test-suites/cell-delete-tests/tests/00-cleanup-nova.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../common/cleanup-nova.yaml |
Oops, something went wrong.