From 5d3b0e6a357f27516d60db43d56fac73beb05649 Mon Sep 17 00:00:00 2001 From: Ariel Sosnovsky Date: Thu, 16 Nov 2023 11:52:31 -0500 Subject: [PATCH] int ports --- k8s/apps/frigate/templates/dep-scrypted.yaml | 2 +- k8s/apps/frigate/templates/lb.yaml | 4 ++-- k8s/apps/frigate/templates/service.yaml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/k8s/apps/frigate/templates/dep-scrypted.yaml b/k8s/apps/frigate/templates/dep-scrypted.yaml index c5c00af..116e08a 100644 --- a/k8s/apps/frigate/templates/dep-scrypted.yaml +++ b/k8s/apps/frigate/templates/dep-scrypted.yaml @@ -87,7 +87,7 @@ spec: name: homekit {{ with .Values.scrypted.homekit }} {{ range $i := (untilStep (int .startPort) (int .endPort) 1) }} - - containerPort: "{{$i}}" + - containerPort: {{$i}} name: homekit-{{$i}} {{ end }} {{ end }} diff --git a/k8s/apps/frigate/templates/lb.yaml b/k8s/apps/frigate/templates/lb.yaml index c0c706f..560a8df 100644 --- a/k8s/apps/frigate/templates/lb.yaml +++ b/k8s/apps/frigate/templates/lb.yaml @@ -44,8 +44,8 @@ spec: protocol: UDP {{ with .Values.scrypted.homekit }} {{ range $i := (untilStep (int .startPort) (int .endPort) 1) }} - - port: "{{$i}}" - targetPort: "{{$i}}" + - port: {{$i}} + targetPort: {{$i}} name: homekit-{{$i}} {{ end }} {{ end }} \ No newline at end of file diff --git a/k8s/apps/frigate/templates/service.yaml b/k8s/apps/frigate/templates/service.yaml index 5eaf39d..f3685e5 100644 --- a/k8s/apps/frigate/templates/service.yaml +++ b/k8s/apps/frigate/templates/service.yaml @@ -78,8 +78,8 @@ spec: protocol: TCP {{ with .Values.scrypted.homekit }} {{ range $i := (untilStep (int .startPort) (int .endPort) 1) }} - - port: "{{$i}}" - targetPort: "{{$i}}" + - port: {{$i}} + targetPort: {{$i}} name: homekit-{{$i}} {{ end }} {{ end }} \ No newline at end of file