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 Bad Metrics Server Schema #2824

Merged

Conversation

jonathanmeier5
Copy link
Member

Issue #, if available:
N/A

Description of changes:

EKS Anywhere Curated Packages accept configuration parameters that are passed in to the underlying helm chart as values.

The packages controller validates these parameters using the schema.json, which is base64 encoded, compressed, and published
as a package attribute in the packagebundle object.

This change was verified by building the helm chart locally and grabbing the schema field from requires.yaml.

I then plugged this schema value into the TestPackageValidate unit test in eks-anywhere-packages repo.

By verifying that the test passed, I was able to confirm that the schema was valid.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@eks-distro-bot eks-distro-bot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Jan 17, 2024
@jonathanmeier5 jonathanmeier5 force-pushed the bugfix/metrics-server-schema-validator branch from e2f44dc to 23b0014 Compare January 18, 2024 14:23
@eks-distro-bot eks-distro-bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Jan 18, 2024
@rahulbabu95
Copy link
Member

/lgtm

@jonathanmeier5
Copy link
Member Author

/approve

@eks-distro-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jonathanmeier5

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@eks-distro-bot eks-distro-bot merged commit 64cffc5 into aws:main Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants