diff --git a/charts/generic-app/Chart.yaml b/charts/generic-app/Chart.yaml index 21e7392..fb1c6e8 100644 --- a/charts/generic-app/Chart.yaml +++ b/charts/generic-app/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: generic-app description: A Helm Chart for Generic App type: application -version: 0.1.9 +version: 0.1.10 sources: - https://github.com/David-Crty/helm-chart maintainers: diff --git a/charts/generic-app/templates/ingressroute.yaml b/charts/generic-app/templates/ingressroute.yaml index 4907fd7..e175978 100644 --- a/charts/generic-app/templates/ingressroute.yaml +++ b/charts/generic-app/templates/ingressroute.yaml @@ -1,3 +1,4 @@ +{{- if .Values.host }} {{- $fullName := include "generic-app.fullname" . -}} apiVersion: traefik.containo.us/v1alpha1 kind: IngressRoute @@ -45,4 +46,5 @@ metadata: spec: redirectScheme: scheme: https - permanent: true \ No newline at end of file + permanent: true +{{- end }} \ No newline at end of file diff --git a/charts/generic-app/values.yaml b/charts/generic-app/values.yaml index 161d712..b51b8e0 100644 --- a/charts/generic-app/values.yaml +++ b/charts/generic-app/values.yaml @@ -2,6 +2,7 @@ appName: demo-app image: hello-world port: 80 host: hello-world.com +https: false healthCheckPath: "" prometheus: enabled: false