diff --git a/charts/landing-pages-chart/Chart.yaml b/charts/landing-pages-chart/Chart.yaml index c74effe..7068b8a 100644 --- a/charts/landing-pages-chart/Chart.yaml +++ b/charts/landing-pages-chart/Chart.yaml @@ -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 diff --git a/charts/landing-pages-chart/templates/ingress.yaml b/charts/landing-pages-chart/templates/ingress.yaml index d63fe75..c9b6b31 100644 --- a/charts/landing-pages-chart/templates/ingress.yaml +++ b/charts/landing-pages-chart/templates/ingress.yaml @@ -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: diff --git a/charts/landing-pages-chart/values.yaml b/charts/landing-pages-chart/values.yaml index 69cacd3..1f0f581 100644 --- a/charts/landing-pages-chart/values.yaml +++ b/charts/landing-pages-chart/values.yaml @@ -3,3 +3,6 @@ namespace: s3Host: bucketUrl: +tls: false +domainName: +secretName: \ No newline at end of file