charts/charts/harbor/templates/redis-svc.yaml
anthony.bellino 7df8c133db feat(chart): adds harbor-helm chart
This PS adds harbor-helm [0]

[0] https://github.com/goharbor/harbor-helm

Change-Id: I0bbef1f3504bc1fe51e2dc50b071cb1acb00734d
2020-12-01 07:12:41 +00:00

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 -}}