Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
[stable/minio] nodeport and externalips support added (#6680)
Browse files Browse the repository at this point in the history
* nodeport and externalips support added

* Update Chart.yaml
  • Loading branch information
killmeplz authored and k8s-ci-robot committed Jul 17, 2018
1 parent 89097e7 commit 8e313c4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion stable/minio/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
description: Minio is a high performance distributed object storage server, designed for large-scale private cloud infrastructure.
name: minio
version: 1.5.0
version: 1.6.0
appVersion: RELEASE.2018-07-10T01-42-11Z
keywords:
- storage
Expand Down
9 changes: 9 additions & 0 deletions stable/minio/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ spec:
port: 9000
targetPort: {{ .Values.service.port }}
protocol: TCP
{{- if (and (eq .Values.service.type "NodePort") ( .Values.service.nodePort)) }}
nodePort: {{ .Values.service.nodePort }}
{{- end}}
{{- if .Values.service.externalIPs }}
externalIPs:
{{- range $i , $ip := .Values.service.externalIPs }}
- {{ $ip }}
{{- end }}
{{- end }}
selector:
app: {{ template "minio.name" . }}
release: {{ .Release.Name }}
1 change: 1 addition & 0 deletions stable/minio/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ service:
type: ClusterIP
clusterIP: None
port: 9000
# nodePort: 31311
annotations: {}
# prometheus.io/scrape: 'true'
# prometheus.io/path: '/minio/prometheus/metrics'
Expand Down

0 comments on commit 8e313c4

Please sign in to comment.