Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sd109 committed Jun 11, 2024
1 parent fafd38a commit 07e31fe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions chart/templates/api/ingress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ metadata:
{{ end -}}
name: {{ default (printf "%s-api" .Release.Name) .Values.ingress.api.name }}
spec:
ingressClassName: nginx
ingressClassName: {{ .Values.ingress.className }}
rules:
- http:
paths:
- path: /v1
- path: {{ .Values.ingress.api.path }}
pathType: Prefix
backend:
service:
Expand Down
2 changes: 1 addition & 1 deletion chart/templates/ui/ingress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
{{ end -}}
name: {{ default (printf "%s-ui" .Release.Name) .Values.ingress.ui.name }}
spec:
ingressClassName: nginx
ingressClassName: {{ .Values.ingress.className }}
rules:
- http:
paths:
Expand Down
2 changes: 2 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ ui:
# NOTE: An ingress controller must be installed
# on the target cluster.
ingress:
# The name of the ingress class to use
className: nginx
host:
tls: true
api:
Expand Down

0 comments on commit 07e31fe

Please sign in to comment.