diff --git a/incubator/chartmuseum/Chart.yaml b/incubator/chartmuseum/Chart.yaml index 54196ce9ca..3f5140bee3 100644 --- a/incubator/chartmuseum/Chart.yaml +++ b/incubator/chartmuseum/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: Helm Chart Repository with support for Amazon S3 and Google Cloud Storage name: chartmuseum -version: 0.3.2 +version: 0.3.3 appVersion: 0.2.8 home: https://github.com/chartmuseum/chartmuseum icon: https://raw.githubusercontent.com/chartmuseum/chartmuseum/master/logo.png diff --git a/incubator/chartmuseum/templates/service.yaml b/incubator/chartmuseum/templates/service.yaml index 3ca2a27617..f3580a153a 100644 --- a/incubator/chartmuseum/templates/service.yaml +++ b/incubator/chartmuseum/templates/service.yaml @@ -14,7 +14,11 @@ spec: type: {{ .Values.service.type }} ports: - port: {{ .Values.service.externalPort }} +{{- if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePort))) }} + nodePort: {{.Values.service.nodePort}} +{{- else }} targetPort: {{ .Values.service.internalPort }} +{{- end }} protocol: TCP name: {{ .Release.Name }} selector: diff --git a/incubator/chartmuseum/values.yaml b/incubator/chartmuseum/values.yaml index 82d8981ee7..8395ea1409 100644 --- a/incubator/chartmuseum/values.yaml +++ b/incubator/chartmuseum/values.yaml @@ -55,8 +55,9 @@ service: type: ClusterIP externalPort: 8080 internalPort: 8080 + nodePort: annotations: {} - # foo.io/bar: "true" + resources: limits: cpu: 100m