Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix schema validation errors #957

Merged
merged 3 commits into from
Sep 13, 2022
Merged

Conversation

alemorcuq
Copy link
Collaborator

@alemorcuq alemorcuq commented Sep 13, 2022

Description of the change
Fix issues reported in #955 regarding schema validations:

  • Allow spec.template.data to be null
  • Preserve unknown fields for spec.template.metadata to maintain labels and avoid null validations such as createTimestamp

Also:

  • Use the schema in the controller.yaml files

Applicable issues

alvneiayu
alvneiayu previously approved these changes Sep 13, 2022
Copy link
Collaborator

@alvneiayu alvneiayu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Makefile Show resolved Hide resolved
@alemorcuq alemorcuq temporarily deployed to vmware-image-builder September 13, 2022 13:58 Inactive
Copy link
Collaborator

@josvazg josvazg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@alvneiayu alvneiayu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alemorcuq alemorcuq merged commit 9d8fcb1 into bitnami-labs:main Sep 13, 2022
@alemorcuq alemorcuq deleted the 955-schema branch September 13, 2022 14:13
@brokenjacobs
Copy link

LGTM validation issues seem to be gone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants