score-spec / docs

Docs for Score Specification.
https://docs.score.dev/docs/
Apache License 2.0
6 stars 12 forks source link

Changed extension file example to show route and annotations #70

Closed TobiasBabin closed 8 months ago

TobiasBabin commented 9 months ago

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?