Skip to content

Commit

Permalink
Merge pull request #10 from NBISweden/tls-config
Browse files Browse the repository at this point in the history
Tls config
  • Loading branch information
darthvader2 authored Apr 3, 2024
2 parents b97f388 + beb7d86 commit 0c44d39
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/landing-pages-chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
version: 0.1.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
6 changes: 6 additions & 0 deletions charts/landing-pages-chart/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ metadata:
namespace: {{ .Values.namespace }}
spec:
ingressClassName: nginx
{{ if .Values.tls }}
tls:
- hosts:
- "{{ .Values.domainName }}"
secretName: {{ .Values.secretName }}
{{ end }}
rules:
- http:
paths:
Expand Down
3 changes: 3 additions & 0 deletions charts/landing-pages-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ namespace:
s3Host:
bucketUrl:

tls: false
domainName:
secretName:

0 comments on commit 0c44d39

Please sign in to comment.