From 1135c680c323b9bd2f2082db43cf2d7d15499625 Mon Sep 17 00:00:00 2001 From: Pim van Nierop Date: Wed, 3 Jul 2024 09:46:34 +0200 Subject: [PATCH] Fix data-dashboard-backend ingress --- charts/data-dashboard-backend/Chart.yaml | 2 +- charts/data-dashboard-backend/README.md | 4 ++-- charts/data-dashboard-backend/templates/ingress.yaml | 1 + charts/data-dashboard-backend/values.yaml | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/charts/data-dashboard-backend/Chart.yaml b/charts/data-dashboard-backend/Chart.yaml index 6f8f900d..f5423cdd 100644 --- a/charts/data-dashboard-backend/Chart.yaml +++ b/charts/data-dashboard-backend/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: "0.1.2" name: data-dashboard-backend description: API for data in the data dashboard -version: 0.2.0 +version: 0.2.1 sources: ["https://github.com/thehyve/radar-data-dashboard-backend"] deprecated: false type: application diff --git a/charts/data-dashboard-backend/README.md b/charts/data-dashboard-backend/README.md index 5c59e1e1..80fea386 100644 --- a/charts/data-dashboard-backend/README.md +++ b/charts/data-dashboard-backend/README.md @@ -2,7 +2,7 @@ # data-dashboard-backend -![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.2](https://img.shields.io/badge/AppVersion-0.1.2-informational?style=flat-square) +![Version: 0.2.1](https://img.shields.io/badge/Version-0.2.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.2](https://img.shields.io/badge/AppVersion-0.1.2-informational?style=flat-square) API for data in the data dashboard @@ -42,7 +42,7 @@ API for data in the data dashboard | service.type | string | `"ClusterIP"` | Kubernetes Service type | | service.port | int | `9000` | data-dashboard-backend port | | ingress.enabled | bool | `true` | Enable ingress controller resource | -| ingress.className | string | `"nginx"` | Ingress class name | +| ingress.ingressClassName | string | `"nginx"` | Ingress class name | | ingress.annotations | object | check values.yaml | Annotations that define default ingress class, certificate issuer | | ingress.path | string | `"/api"` | Path within the url structure | | ingress.pathType | string | `"ImplementationSpecific"` | | diff --git a/charts/data-dashboard-backend/templates/ingress.yaml b/charts/data-dashboard-backend/templates/ingress.yaml index d3ac18c1..4916b9ee 100644 --- a/charts/data-dashboard-backend/templates/ingress.yaml +++ b/charts/data-dashboard-backend/templates/ingress.yaml @@ -19,6 +19,7 @@ metadata: {{- toYaml . | nindent 4 }} {{- end }} spec: + ingressClassName: {{ .Values.ingress.ingressClassName | quote }} {{- if .Values.ingress.tls }} tls: - hosts: diff --git a/charts/data-dashboard-backend/values.yaml b/charts/data-dashboard-backend/values.yaml index ca19a1ec..61c0743e 100644 --- a/charts/data-dashboard-backend/values.yaml +++ b/charts/data-dashboard-backend/values.yaml @@ -44,7 +44,7 @@ ingress: # -- Enable ingress controller resource enabled: true # -- Ingress class name - className: nginx + ingressClassName: nginx # -- Annotations that define default ingress class, certificate issuer # @default -- check values.yaml annotations: