Skip to content

Commit

Permalink
Merge pull request #211 from RADAR-base/fix-dashboard-backend-ingress
Browse files Browse the repository at this point in the history
[data-dashboard-backend] Add classname to Ingress
  • Loading branch information
keyvaann authored Jul 3, 2024
2 parents 91aee03 + 1135c68 commit 8e1108b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/data-dashboard-backend/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions charts/data-dashboard-backend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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"` | |
Expand Down
1 change: 1 addition & 0 deletions charts/data-dashboard-backend/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
ingressClassName: {{ .Values.ingress.ingressClassName | quote }}
{{- if .Values.ingress.tls }}
tls:
- hosts:
Expand Down
2 changes: 1 addition & 1 deletion charts/data-dashboard-backend/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8e1108b

Please sign in to comment.