Files
the-other-dude/infrastructure/helm/templates/redis-service.yaml
Jason Staack d785aadad7 feat(helm): add Redis Deployment and ClusterIP Service
Ephemeral cache with no PVC. Includes redis-cli ping probes for
liveness and readiness.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 18:43:58 -05:00

18 lines
481 B
YAML

{{- if .Values.redis.enabled }}
apiVersion: v1
kind: Service
metadata:
name: {{ include "tod.fullname" . }}-redis
labels:
{{- include "tod.componentLabels" (dict "context" . "component" "redis") | nindent 4 }}
spec:
type: ClusterIP
ports:
- name: redis
port: {{ .Values.redis.service.port }}
targetPort: redis
protocol: TCP
selector:
{{- include "tod.componentSelectorLabels" (dict "context" . "component" "redis") | nindent 4 }}
{{- end }}