From 8f3c7b9aa857f6b9da131274bca8e96315506ec1 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Sun, 24 Nov 2024 01:32:56 -0600 Subject: [PATCH] change service --- .../applications/jellyplist/templates/service.yaml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/clusters/cl01tl/applications/jellyplist/templates/service.yaml b/clusters/cl01tl/applications/jellyplist/templates/service.yaml index fa8de7c90..2b2b7e392 100644 --- a/clusters/cl01tl/applications/jellyplist/templates/service.yaml +++ b/clusters/cl01tl/applications/jellyplist/templates/service.yaml @@ -10,5 +10,15 @@ metadata: app.kubernetes.io/component: network app.kubernetes.io/part-of: {{ .Release.Name }} spec: - type: ExternalName - externalName: jellyplist-valkey-master.jellyplist + internalTrafficPolicy: Cluster + ports: + - name: tcp-redis + nodePort: null + port: 6379 + targetPort: redis + selector: + app.kubernetes.io/component: master + app.kubernetes.io/instance: jellyplist + app.kubernetes.io/name: valkey + sessionAffinity: None + type: ClusterIP