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

Changed extension file example to show route and annotations #70

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

TobiasBabin
Copy link
Contributor

What is the motivation?

The current Score extension file example is outdated. The "ingress" element is deprecated and should be replaced by "route" resources in the Score file.

What does this change do?

Replaces the Score extension file example with a current combination of Score file and Score extension file. The Score file now shows the "route" resource to help advertise this change, especially for readers of the page who might seek the replacement. As a new demo element for the extension file, it now shows annotations on both container and service.

What is your testing strategy?

I processed this combination of files with the score-humanitec CLI to ensure their correctness.

Is this related to any issues?

No, except the deprecation of the "ingress" element.

Have you read the Contributing Guidelines?

Copy link
Contributor

@sujaya-sys sujaya-sys left a comment

Choose a reason for hiding this comment

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

LGTM - I can take care of duplicating these changes in https://github.com/score-spec/score-humanitec/tree/main/examples/04-extras

@TobiasBabin TobiasBabin merged commit adbbcd2 into main Feb 1, 2024
1 check passed
@TobiasBabin TobiasBabin deleted the modify-extension-example branch February 1, 2024 15:51
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.

2 participants