Skip to content

Commit

Permalink
Merge pull request #17 from ImDevinC/add-multiple-ports
Browse files Browse the repository at this point in the history
Add support for multiple service ports
  • Loading branch information
ImDevinC committed Jan 30, 2024
2 parents 29280ec + 66a0a5e commit f249800
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions deploy/go-links/Chart.yaml
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: go-links
description: A Helm chart for Kubernetes
type: application
version: 0.0.9
appVersion: "0.0.9"
version: 0.0.10
appVersion: "0.0.10"
3 changes: 3 additions & 0 deletions deploy/go-links/templates/service.yaml
Expand Up @@ -15,5 +15,8 @@ spec:
targetPort: http
protocol: TCP
name: http
{{- with .Values.service.extraPorts }}
{{- toYaml . | nindent 4}}
{{- end }}
selector:
{{- include "go-links.selectorLabels" . | nindent 4 }}
1 change: 0 additions & 1 deletion deploy/go-links/values.yaml
Expand Up @@ -50,7 +50,6 @@ service:
type: ClusterIP
port: 8080
annotations: {}

ingress:
enabled: false
className: nginx
Expand Down

0 comments on commit f249800

Please sign in to comment.