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

[ISSUE] OpenShift default router with TLS prevents route creation #2620

Open
leiicamundi opened this issue Nov 28, 2024 · 0 comments
Open

[ISSUE] OpenShift default router with TLS prevents route creation #2620

leiicamundi opened this issue Nov 28, 2024 · 0 comments
Assignees
Labels
kind/issue Unidentified issue, it could be a bug, misconfig, or anything in between platform/openshift Issues related to OpenShift

Comments

@leiicamundi
Copy link
Contributor

Issue:

The wildcard certificate used by default for router routes in OpenShift does not require a secret to be defined, unlike the ingress. This creates a situation where the Route cannot be translated to an Ingress as the Ingress object refers to a certificate not existing

Actual behavior:

When creating a route for a router with a wildcard certificate, OpenShift will not create the route because TLS is enabled by default, but there is no secret containing the certificate available to define it.

Expected behavior:

The route should still be created even when TLS is enabled by default and not setting a default certificate name

How to reproduce:

To reproduce this issue, follow these steps:

  1. Create a values file with the following configuration:
global:
  ingress:
    tls:
      enabled: true
  1. Use the host of the apps domain of the cluster
  2. Observe that no route is created for the router, even though TLS is enabled by default.

(example https://github.com/camunda/camunda-deployment-references/blob/a5d35e771bb790eb7087bcb4bff39127d87833ad/aws/rosa-hcp/camunda-versions/8.7/procedure/install/helm-values/domain.yml#L9)

It can be fixed by disabling this section

{{- if .Values.console.ingress.tls.enabled }}
, otherwise we will have to indicate in the documentation, that tls should not be configured to be enabled if we want to fallback on the router certificates

Logs:

Not applicable for this issue, as it does not produce any logs.

Environment:

  • Platform: OpenShift
  • Helm CLI version: [insert version]
  • Chart version: 8.x.x
  • Values file: [insert link to values file]
@leiicamundi leiicamundi added the kind/issue Unidentified issue, it could be a bug, misconfig, or anything in between label Nov 28, 2024
@github-actions github-actions bot added the platform/openshift Issues related to OpenShift label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/issue Unidentified issue, it could be a bug, misconfig, or anything in between platform/openshift Issues related to OpenShift
Projects
None yet
Development

No branches or pull requests

2 participants