From d3a88ea23d4d08fc1366f20d5c5cdbe372ce4b41 Mon Sep 17 00:00:00 2001 From: lars-fillmore <97861771+lars-fillmore@users.noreply.github.com> Date: Wed, 23 Oct 2024 02:56:53 +0000 Subject: [PATCH] Update ows chart to handle ingressClassName --- stable/datacube-ows/Chart.yaml | 2 +- stable/datacube-ows/README.md | 1 + stable/datacube-ows/templates/ows-ingress.yaml | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/stable/datacube-ows/Chart.yaml b/stable/datacube-ows/Chart.yaml index 731c54d..ad8a766 100644 --- a/stable/datacube-ows/Chart.yaml +++ b/stable/datacube-ows/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: Datacube Web Map Service name: datacube-ows -version: 0.20.0 +version: 0.20.1 keywords: - datacube - http diff --git a/stable/datacube-ows/README.md b/stable/datacube-ows/README.md index ddadf48..5acf8c0 100644 --- a/stable/datacube-ows/README.md +++ b/stable/datacube-ows/README.md @@ -16,6 +16,7 @@ Source code can be found [here](https://www.opendatacube.org/documentation) | database.existingSecret | string | `nil` | | | database.host | string | `"localhost"` | | | database.port | int | `5432` | | +| ingress.ingressClassName | string | `""` | | | ingress.annotations | object | `{}` | | | ingress.enabled | bool | `false` | | | ingress.hosts[0] | string | `""` | | diff --git a/stable/datacube-ows/templates/ows-ingress.yaml b/stable/datacube-ows/templates/ows-ingress.yaml index 2aea054..f13939b 100644 --- a/stable/datacube-ows/templates/ows-ingress.yaml +++ b/stable/datacube-ows/templates/ows-ingress.yaml @@ -25,6 +25,9 @@ metadata: {{- end }} spec: + {{- if .Values.ingress.ingressClassName }} + ingressClassName: {{ .Values.ingress.ingressClassName }} + {{- end }} rules: {{- range .Values.ingress.hosts }} - host: {{ . | quote }}