Skip to content

Commit

Permalink
Merge pull request openstack-k8s-operators#1269 from rabi/remove_crd_…
Browse files Browse the repository at this point in the history
…schema_check_override

Remove CRD schema checker override
  • Loading branch information
openshift-merge-bot[bot] authored Jan 21, 2025
2 parents 675f136 + ec3b12c commit e1f2daf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions controllers/dataplane/openstackdataplanenodeset_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -521,9 +521,9 @@ func checkDeployment(ctx context.Context, helper *helper.Helper,
isDeploymentRunning = true
} else if deploymentConditions.IsTrue(dataplanev1.NodeSetDeploymentReadyCondition) {
// If the nodeset configHash does not match with what's in the deployment and the
// generation metadata has changed i.e generation metatdata won't change when
// generation metadata has changed (i.e generation metatdata won't change when
// fields are removed from the CRD during an update that would not require a new
// deployment to run).
// deployment to run) asssume nodeset has changed requiring new deployment.
if deployment.Status.NodeSetHashes[instance.Name] != instance.Status.ConfigHash &&
generationChanged {
continue
Expand Down
3 changes: 1 addition & 2 deletions hack/crd-schema-checker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ set -euxo pipefail

CHECKER=$INSTALL_DIR/crd-schema-checker

# (TODO) Remove NoFieldRemoval after this PR merges
DISABLED_VALIDATORS=NoMaps,NoFieldRemoval # TODO: https://issues.redhat.com/browse/OSPRH-12254
DISABLED_VALIDATORS=NoMaps # TODO: https://issues.redhat.com/browse/OSPRH-12254

CHECKER_ARGS=""
if [[ ${DISABLED_VALIDATORS:+x} ]]; then
Expand Down

0 comments on commit e1f2daf

Please sign in to comment.