4 Commits

Author SHA1 Message Date
Devin Canterberry
b3677863c7 🏁 Increment chart version for v1.10.1 release 2021-02-14 19:58:55 -08:00
Devin Canterberry
89760bc72c Merge pull request #8 from nightscape/patch-1
Rename port to match Istio naming conventions
2021-02-14 13:40:49 -08:00
Martin Mauch
cbb527450d Port name is http or https plus port 2021-02-03 23:24:16 +01:00
Martin Mauch
829c10f509 Rename port to match Istio naming conventions
Istio requires the service port to be named like `<protocol>[-<suffix>]`.
If possible, it would be good to rename it here to match this requirement.
2021-01-27 00:24:19 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
apiVersion: v1
description: A Helm chart for Docker Registry
name: docker-registry
version: 1.10.0
version: 1.10.1
appVersion: 2.7.1
home: https://hub.docker.com/_/registry/
icon: https://hub.docker.com/public/images/logos/mini-logo.svg

View File

@@ -32,7 +32,7 @@ spec:
ports:
- port: {{ .Values.service.port }}
protocol: TCP
name: {{ .Values.service.name }}
name: {{ if .Values.tlsSecretName }}https{{ else }}http{{ end }}-{{ .Values.service.port }}
targetPort: 5000
{{- if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePort))) }}
nodePort: {{ .Values.service.nodePort }}