From 35c40df60be63c96cb922a10317a3fa2d3654190 Mon Sep 17 00:00:00 2001 From: Ariel Sosnovsky Date: Thu, 9 Nov 2023 13:46:44 -0500 Subject: [PATCH] lowcase names --- k8s/apps/videohosting/templates/sts-linuxservices.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/k8s/apps/videohosting/templates/sts-linuxservices.yaml b/k8s/apps/videohosting/templates/sts-linuxservices.yaml index dadec37..23bb1c2 100644 --- a/k8s/apps/videohosting/templates/sts-linuxservices.yaml +++ b/k8s/apps/videohosting/templates/sts-linuxservices.yaml @@ -91,7 +91,7 @@ spec: {{ range $portName, $portValue := $v.ports.tcp }} - containerPort: {{ $portValue }} protocol: TCP - name: "TCP-{{ $portName }}" + name: "tcp-{{ $portName }}" {{ end }} {{- if $v.ports.udp -}} {{ range $portName, $portValue := $v.ports.udp }} @@ -108,7 +108,7 @@ spec: livenessProbe: httpGet: path: {{$v.health.liveness}} - port: TCP-web + port: tcp-web scheme: HTTP initialDelaySeconds: 10 failureThreshold: 10 @@ -118,7 +118,7 @@ spec: readinessProbe: httpGet: path: {{$v.health.readiness}} - port: TCP-web + port: tcp-web scheme: HTTP initialDelaySeconds: 10 failureThreshold: 10 @@ -126,7 +126,7 @@ spec: {{ end }} startupProbe: tcpSocket: - port: TCP-web + port: tcp-web initialDelaySeconds: 10 failureThreshold: 10 timeoutSeconds: 30