diff --git a/charts/redirect/Chart.yaml b/charts/redirect/Chart.yaml index c5f5210..e961e9a 100644 --- a/charts/redirect/Chart.yaml +++ b/charts/redirect/Chart.yaml @@ -4,7 +4,7 @@ description: Redirect home: https://github.com/wyrihaximusnet/docker-redirect icon: https://helm.wyrihaximus.net/images/charts/redirect.png type: application -version: 0.8.0 +version: 0.9.0 kubeVersion: ^1.18 appVersion: random maintainers: diff --git a/charts/redirect/README.md b/charts/redirect/README.md index 6dd1fbd..b23c7df 100644 --- a/charts/redirect/README.md +++ b/charts/redirect/README.md @@ -30,6 +30,7 @@ Full configuration example: redirect: # The default fallback is use in case the application can't find a domain to redirect to within the other configuration options defaultFallbackTarget: https://www.wyrihaximus.net/ + enforceHttps: true buildin: wwwToNonWww hosts: www.ceesjankiewiet.nl: wyrihaximus.net @@ -60,4 +61,3 @@ Keep in mind that the configuration options are executed in the following order: * The default tag is random to randomly cycle through the different implementations, here is the [why](https://github.com/WyriHaximusNet/docker-redirect#why). * Comes with a pod * Replace oldest pod every week to hook into the weekly random image retagging - diff --git a/charts/redirect/ci/single-replica-values.yaml b/charts/redirect/ci/single-replica-values.yaml index 026b9d0..78cc2de 100644 --- a/charts/redirect/ci/single-replica-values.yaml +++ b/charts/redirect/ci/single-replica-values.yaml @@ -5,3 +5,6 @@ cron: hpa: enable: true + +redirect: + enforceHttps: false diff --git a/charts/redirect/templates/config.yaml b/charts/redirect/templates/config.yaml index 88d58c8..6188672 100644 --- a/charts/redirect/templates/config.yaml +++ b/charts/redirect/templates/config.yaml @@ -7,6 +7,7 @@ metadata: data: config.yaml: | defaultFallbackTarget: {{ .Values.redirect.defaultFallbackTarget }} + enforceHttps: {{ .Values.redirect.enforceHttps }} buildin: wwwToNonWww: {{ if eq .Values.redirect.buildin "wwwToNonWww" -}}true{{- else -}}false{{- end }} nonWwwToWww: {{ if eq .Values.redirect.buildin "nonWwwToWww" -}}true{{- else -}}false{{- end }} diff --git a/charts/redirect/values.yaml b/charts/redirect/values.yaml index 771526f..09232fb 100644 --- a/charts/redirect/values.yaml +++ b/charts/redirect/values.yaml @@ -8,6 +8,7 @@ redirect: # The default fallback is use in case the application can't find a domain to redirect to within the other configuration options defaultFallbackTarget: https://www.wyrihaximus.net/ + enforceHttps: false buildin: wwwToNonWww hosts: www.ceesjankiewiet.nl: wyrihaximus.net