Add migration path for existing containers to portalhook and fix namespace issues

This commit is contained in:
kjeld Schouten-Lebbing
2021-09-03 22:55:58 +02:00
parent d48b16bb44
commit d541f178a7
3 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -22,4 +22,4 @@ sources:
- https://github.com/traefik/traefik-helm-chart
- https://traefik.io/
type: application
version: 0.0.10
version: 0.0.11
@@ -4,7 +4,4 @@ kind: Namespace
metadata:
name: traefikmiddlewares
namespace: traefikmiddlewares
annotations:
"helm.sh/hook": pre-install
"helm.sh/hook-delete-policy": before-hook-creation,hook-failed
{{- end }}
@@ -17,6 +17,7 @@ data:
{{- $_ := set $ports $name $value }}
{{- end }}
{{- end }}
websecureport: {{ $ports.websecure.exposedPort | quote }}
{{- range $name, $value := $ports }}
{{ $name }}: {{ $value.port | quote }}
{{- end }}