Skip to content
Snippets Groups Projects
service-redis.yaml 383 B
Newer Older
  • Learn to ignore specific revisions
  • {{ if not .Values.data.redisNotificationHost }}
    apiVersion: v1
    kind: Service
    metadata:
      name: {{ printf "redis-%s" .Values.conf.appName | quote }}
      namespace: {{ .Release.Namespace | quote }}
    spec:
      ports:
      - port: {{ .Values.data.redisNotificationPort }}
        protocol: TCP
        targetPort: 6379
      selector:
        app: {{ printf "redis-%s" .Values.conf.appName | quote }}
    {{ end }}