dekorateio / dekorate

Tools for generating Kubernetes related manifests.
Apache License 2.0
471 stars 101 forks source link

Ensure always pickup the same port #1210

Closed Sgitario closed 1 year ago

Sgitario commented 1 year ago

If the container ports are generated in a different order, the port is pickup in a different order.

With this change, the logic to pick up the http to use is consistent.

I saw this issue when generating a Quarkus application. It randomly picks up the HTTP or the HTTPS in the generated Health probes.

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information