Skip to content

[ISSUE][8.8] Ingress rule for camunda-zeebe (Orchestration Cluster) not rendered unless contextPath is explicitly set #4242

@Langleu

Description

@Langleu

Describe the issue:

The ingress rules for the camunda-zeebe (Orchestration Cluster) is no longer rendered unless contextPath is explicitly set. Currently, if no value is provided, nothing is rendered.

If it's the intended behaviour let me know and we can close it but for me it felt like a regression that it has to be explicitly set now.

Actual behavior:

When orchstration.contextPath is not defined, the ingress rules for the orchestration cluster is missing.

Expected behavior:

If orchstration.contextPath is not set, the chart should still render the ingress with / as the default path. Afaik was the previous behaviour.

How to reproduce:

export CAMUNDA_HELM_CHART_VERSION="0.0.0-snapshot-alpha"

helm template camunda oci://ghcr.io/camunda/helm/camunda-platform --version "$CAMUNDA_HELM_CHART_VERSION" --set "global.ingress.enabled=true" > template.yml
helm template camunda oci://ghcr.io/camunda/helm/camunda-platform --version "$CAMUNDA_HELM_CHART_VERSION" --set "global.ingress.enabled=true" --set "orchestration.contextPath=/" > template.yml

Logs:

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: camunda-camunda-platform-http
  labels:
    app: camunda-platform
    app.kubernetes.io/instance: camunda
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: camunda-platform
    app.kubernetes.io/part-of: camunda-platform
    helm.sh/chart: camunda-platform-0.0.0-snapshot-alpha
  annotations: 
    ingress.kubernetes.io/rewrite-target: /
    nginx.ingress.kubernetes.io/proxy-body-size: 10m
    nginx.ingress.kubernetes.io/proxy-buffer-size: 128k
    nginx.ingress.kubernetes.io/proxy-buffering: "on"
    nginx.ingress.kubernetes.io/ssl-redirect: "false"
spec:
  ingressClassName: nginx
  rules:
    - http:
        paths:

vs

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: camunda-camunda-platform-http
  labels:
    app: camunda-platform
    app.kubernetes.io/instance: camunda
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: camunda-platform
    app.kubernetes.io/part-of: camunda-platform
    helm.sh/chart: camunda-platform-0.0.0-snapshot-alpha
  annotations: 
    ingress.kubernetes.io/rewrite-target: /
    nginx.ingress.kubernetes.io/proxy-body-size: 10m
    nginx.ingress.kubernetes.io/proxy-buffer-size: 128k
    nginx.ingress.kubernetes.io/proxy-buffering: "on"
    nginx.ingress.kubernetes.io/ssl-redirect: "false"
spec:
  ingressClassName: nginx
  rules:
    - http:
        paths:
          # Orchestration.
          - backend:
              service:
                name: camunda-zeebe
                port:
                  number: 8080
            path: /
            pathType: Prefix

Environment:

  • Platform: AWS / OpenShift / independent of the platform
  • Helm CLI version: 3.19.0
  • Chart version: alpha-snapshot
  • Values file: N/A (problem occurs when orchstration.contextPath is not set)

Metadata

Metadata

Assignees

Labels

kind/issueUnidentified issue, it could be a bug, misconfig, or anything in betweenplatform/awsIssues related to AWSplatform/openshiftIssues related to OpenShift

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions