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 property "http-action-port-name" is ignored by Kubernetes #33979

Merged

Conversation

Sgitario
Copy link
Contributor

When binding a new port:

quarkus.kubernetes.ports.custom.container-port=8888

The new port name is custom which port 8888.

Then, if we configure any probe to use the port name custom:

quarkus.kubernetes.readiness-probe.http-action-port-name=custom

The generated probe wrongly kept using the port name http.

Furthermore, we fix the support of the apply port decorators to use the correct config references.

When binding a new port:

```
quarkus.kubernetes.ports.custom.container-port=8888
```

The new port name is `custom` which port `8888`. 

Then, if we configure any probe to use the port name `custom`:

```
quarkus.kubernetes.readiness-probe.http-action-port-name=custom
```

The generated probe wrongly kept using the port name `http`.
@Sgitario Sgitario force-pushed the fix_ApplyHttpGetActionPortDecorator branch from 9387120 to d80e9c4 Compare June 12, 2023 12:17
@quarkus-bot
Copy link

quarkus-bot bot commented Jun 12, 2023

Failing Jobs - Building d80e9c4

Status Name Step Failures Logs Raw logs
✔️ JVM Tests - JDK 11
✔️ JVM Tests - JDK 17
JVM Tests - JDK 17 Windows Build Failures Logs Raw logs
✔️ JVM Tests - JDK 19

Failures

⚙️ JVM Tests - JDK 17 Windows #

- Failing: integration-tests/kubernetes/quarkus-standard-way 

📦 integration-tests/kubernetes/quarkus-standard-way

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0:test (default-test) on project quarkus-integration-test-kubernetes-standard: There was a timeout in the fork

Copy link
Contributor

@iocanel iocanel left a comment

Choose a reason for hiding this comment

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

LGTM

@Sgitario Sgitario merged commit b1eb5b6 into quarkusio:main Jun 15, 2023
@Sgitario Sgitario deleted the fix_ApplyHttpGetActionPortDecorator branch June 15, 2023 13:05
@quarkus-bot quarkus-bot bot added this to the 3.2 - main milestone Jun 15, 2023
@gsmet
Copy link
Member

gsmet commented Jun 27, 2023

I didn't backport this one to 3.1 as it doesn't apply cleanly. I suspect we would need to backport other PRs to get this one in.

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

Successfully merging this pull request may close these issues.

3 participants