14 lines
300 B
YAML
14 lines
300 B
YAML
|
{{- if eq .Values.redis.type "internal" -}}
|
||
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: {{ template "harbor.redis" . }}
|
||
|
labels:
|
||
|
{{ include "harbor.labels" . | indent 4 }}
|
||
|
spec:
|
||
|
ports:
|
||
|
- port: 6379
|
||
|
selector:
|
||
|
{{ include "harbor.matchLabels" . | indent 4 }}
|
||
|
component: redis
|
||
|
{{- end -}}
|