Align and remove omitempty from databaseInstance#472
Conversation
For adoption testing a ctlplane with disabled manila gets applied:
~~~
manila:
enabled: false
template:
manilaAPI: {}
manilaScheduler: {}
manilaShares: {}
~~~
This fails with because the manila databaseInstance parameter has
omitempty specified:
~~~
$ oc apply -f ./test_deployment.yaml
The OpenStackControlPlane "openstack" is invalid:
* spec.manila.template.databaseInstance: Required value
* <nil>: Invalid value: "null": some validation rules were not checked because the object was invalid; correct the existing errors to complete validation
~~~
This aligns the databaseInstance parameter and removes the omitempty
like it is speficied in all other service operators.
Signed-off-by: Martin Schuppert <mschuppert@redhat.com>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fmount, stuggi The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@stuggi I think we can override precommit-check because we know what we're doing here. |
yes I'll do that when the other tests passed. |
|
/test manila-operator-build-deploy-kuttl |
|
we need an openstack-operator bump to resolve the kuttl error ... openstack-k8s-operators/openstack-operator#1610 |
|
lets see if the depends-on works |
|
/test manila-operator-build-deploy-kuttl |
|
/override ci/prow/precommit-check |
|
@stuggi: Overrode contexts on behalf of stuggi: ci/prow/precommit-check DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
9987745
into
openstack-k8s-operators:main
For adoption testing a ctlplane with disabled manila gets applied:
This fails with because the manila databaseInstance parameter has omitempty specified:
This aligns the databaseInstance parameter and removes the omitempty like it is speficied in all other service operators.
Depends-On: openstack-k8s-operators/openstack-operator#1610
Jira: OSPRH-12935