Skip to content

Comments

Add validation in crds to avoid unrelated schema#74

Open
payamQorbanpour wants to merge 1 commit intomainfrom
feat/add-crd-validation
Open

Add validation in crds to avoid unrelated schema#74
payamQorbanpour wants to merge 1 commit intomainfrom
feat/add-crd-validation

Conversation

@payamQorbanpour
Copy link
Collaborator

Description

In crds (e.g. database) some fields most be validated. For example for Redis mode field one of sync or copy is valid that should be checked in the controller. Or checking not to set mode for Postgresql which is a Redis field. etc.

Changes

  • Add validation in crds to avoid unrelated schema, type, enums, etc.

Related Issues

#53

Checklist

  • Your go code is formatted. Your IDE should do it automatically for you.
  • New configuration options are reflected in CRD validation, helm charts and sample manifests.
  • New functionality is covered by unit and/or e2e tests.
  • You have checked existing open PRs for possible overlay and referenced them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant