diff --git a/.github/workflows/validate-ocean.yml b/.github/workflows/validate-ocean.yml index 5197509..4918ae9 100644 --- a/.github/workflows/validate-ocean.yml +++ b/.github/workflows/validate-ocean.yml @@ -28,4 +28,4 @@ jobs: - name: Validate Helm Chart run: | - helm template --set secret.secrets.portClientId=test --set secret.secrets.portClientSecret=test --set configMap.config=test . | kubectl apply --dry-run=client -f - + helm template --set port.clientId=test --set port.clientSecret=test --set configMap.config=test . | kubectl apply --dry-run=client -f - diff --git a/charts/port-ocean/README.md b/charts/port-ocean/README.md index 804ab74..7a691fe 100644 --- a/charts/port-ocean/README.md +++ b/charts/port-ocean/README.md @@ -68,6 +68,7 @@ The following table lists the configuration parameters of the `port-ocean` chart | `service.type` | Service type for the Port application. | `ClusterIP` | | `service.port` | Port number for the service. | `8000` | | `ingress.enabled` | Specifies whether the ingress is enabled or not. | `false` | +| `ingress.className` | Specifies the ingress ClassName. | `""` | | `ingress.annotations` | Annotations for the ingress object. | `{}` | | `ingress.host` | Hostname for the ingress. | `null` | | `ingress.path` | Path for the ingress. | `/` | diff --git a/charts/port-ocean/templates/ingress.yaml b/charts/port-ocean/templates/ingress.yaml index 9797a28..89853bd 100644 --- a/charts/port-ocean/templates/ingress.yaml +++ b/charts/port-ocean/templates/ingress.yaml @@ -11,6 +11,9 @@ metadata: {{- toYaml .Values.ingress.annotations | nindent 4 }} {{- end }} spec: + {{- if .Values.ingress.className }} + ingressClassName: {{ .Values.ingress.className | quote }} + {{- end }} rules: - {{- if .Values.ingress.host }} diff --git a/charts/port-ocean/values.yaml b/charts/port-ocean/values.yaml index bcb4aa5..bd912cc 100644 --- a/charts/port-ocean/values.yaml +++ b/charts/port-ocean/values.yaml @@ -59,6 +59,7 @@ service: ingress: enabled: false + className: "" annotations: {} host: null path: /