Skip to content

Commit

Permalink
fix(chart): allow to specify service's targetPort (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeDecMeetsMore authored Sep 2, 2024
1 parent 91818a5 commit 5ee805b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/nittei/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.4
version: 0.1.5

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/nittei/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
targetPort: {{ .Values.service.targetPort }}
protocol: TCP
name: http
selector:
Expand Down
1 change: 1 addition & 0 deletions charts/nittei/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ securityContext:
service:
type: ClusterIP
port: 80
targetPort: 5000
annotations: {}

ingress:
Expand Down

0 comments on commit 5ee805b

Please sign in to comment.