mirror of
https://github.com/twuni/docker-registry.helm.git
synced 2026-08-27 06:17:17 +00:00
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.
This commit is contained in:
@@ -32,7 +32,7 @@ spec:
|
||||
ports:
|
||||
- port: {{ .Values.service.port }}
|
||||
protocol: TCP
|
||||
name: {{ .Values.service.name }}
|
||||
name: http-{{ .Values.service.name }}
|
||||
targetPort: 5000
|
||||
{{- if (and (eq .Values.service.type "NodePort") (not (empty .Values.service.nodePort))) }}
|
||||
nodePort: {{ .Values.service.nodePort }}
|
||||
|
||||
Reference in New Issue
Block a user