From 15754c61ae1918ed97126072747dc32c28132dc8 Mon Sep 17 00:00:00 2001 From: this-is-tobi Date: Sun, 15 Dec 2024 19:00:08 +0100 Subject: [PATCH] feat: :sparkles: add swagger-ui ingress config --- charts/dso-console/Chart.yaml | 2 +- charts/dso-console/README.md | 2 +- charts/dso-console/templates/ingress.yaml | 9 ++++++++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/charts/dso-console/Chart.yaml b/charts/dso-console/Chart.yaml index b59f934..7e64ba8 100644 --- a/charts/dso-console/Chart.yaml +++ b/charts/dso-console/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: cpn-console description: A Helm chart to deploy Cloud Pi Native Console type: application -version: 1.12.0 +version: 1.13.0 appVersion: 8.20.0 keywords: [] home: https://cloud-pi-native.fr diff --git a/charts/dso-console/README.md b/charts/dso-console/README.md index 6e8caba..e8ae01a 100644 --- a/charts/dso-console/README.md +++ b/charts/dso-console/README.md @@ -1,6 +1,6 @@ # cpn-console -![Version: 1.12.0](https://img.shields.io/badge/Version-1.12.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 8.20.0](https://img.shields.io/badge/AppVersion-8.20.0-informational?style=flat-square) +![Version: 1.13.0](https://img.shields.io/badge/Version-1.13.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 8.20.0](https://img.shields.io/badge/AppVersion-8.20.0-informational?style=flat-square) A Helm chart to deploy Cloud Pi Native Console diff --git a/charts/dso-console/templates/ingress.yaml b/charts/dso-console/templates/ingress.yaml index 8e88b6c..22a132f 100644 --- a/charts/dso-console/templates/ingress.yaml +++ b/charts/dso-console/templates/ingress.yaml @@ -38,7 +38,14 @@ spec: name: {{ $fullName }}-client port: number: {{ $svcPortClient }} - - path: /api/ + - path: /api + pathType: Prefix + backend: + service: + name: {{ $fullName }}-server + port: + number: {{ $svcPortServer }} + - path: /swagger-ui pathType: Prefix backend: service: