harbor/contrib/helm/harbor/templates/chartmuseum/chartmuseum-svc.yaml
Wenkai Yin 1b0c55fb2d Add chartmuseum to Harbor chart
This commit integrates the chartmuseum to Harbor chart to enable the feature for storing chart in Harbor
2018-08-01 19:21:10 +08:00

15 lines
337 B
YAML

{{- if .Values.chartmuseum.enabled }}
apiVersion: v1
kind: Service
metadata:
name: "{{ template "harbor.fullname" . }}-chartmuseum"
labels:
{{ include "harbor.labels" . | indent 4 }}
spec:
ports:
- port: 80
targetPort: 9999
selector:
{{ include "harbor.matchLabels" . | indent 4 }}
component: chartmuseum
{{- end }}