Skip to content

Commit

Permalink
Update ows chart to handle ingressClassName
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-fillmore committed Oct 23, 2024
1 parent f8d640d commit d3a88ea
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/datacube-ows/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions stable/datacube-ows/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 | `""` | |
Expand Down
3 changes: 3 additions & 0 deletions stable/datacube-ows/templates/ows-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ metadata:
{{- end }}

spec:
{{- if .Values.ingress.ingressClassName }}
ingressClassName: {{ .Values.ingress.ingressClassName }}
{{- end }}
rules:
{{- range .Values.ingress.hosts }}
- host: {{ . | quote }}
Expand Down

0 comments on commit d3a88ea

Please sign in to comment.