From e4827e58d981d21d0cda758ab1646a48a81c1dad Mon Sep 17 00:00:00 2001 From: Andraz Vrhovec Date: Sun, 6 Dec 2020 20:17:49 +0100 Subject: [PATCH] bump website chart --- charts/website/Chart.yaml | 2 +- charts/website/templates/ingressroute.yml | 4 +++- charts/website/values.yaml | 1 + 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/charts/website/Chart.yaml b/charts/website/Chart.yaml index 1bb1d5a..f70cf73 100644 --- a/charts/website/Chart.yaml +++ b/charts/website/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.2.0 +version: 0.9.0 # 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/website/templates/ingressroute.yml b/charts/website/templates/ingressroute.yml index 87b885f..776a608 100644 --- a/charts/website/templates/ingressroute.yml +++ b/charts/website/templates/ingressroute.yml @@ -1,3 +1,4 @@ +{{- if .Values.ingressroute.enabled -}} {{- $fullName := include "website.fullname" . -}} --- apiVersion: traefik.containo.us/v1alpha1 @@ -16,4 +17,5 @@ spec: - name: {{ $fullName }} port: 80 tls: - certResolver: {{ .Values.ingressroute.certResolver }} \ No newline at end of file + certResolver: {{ .Values.ingressroute.certResolver }} +{{- end }} \ No newline at end of file diff --git a/charts/website/values.yaml b/charts/website/values.yaml index 13c95bb..e166ca6 100644 --- a/charts/website/values.yaml +++ b/charts/website/values.yaml @@ -40,6 +40,7 @@ service: port: 80 ingressroute: + enabled: false rule: Host(`www.sledilnik.org`) certResolver: letsencrypt