Skip to content

Commit

Permalink
(base) fix service account target port
Browse files Browse the repository at this point in the history
  • Loading branch information
thread-koder committed Oct 22, 2024
1 parent 7538b10 commit e122030
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/base/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ maintainers:
url: https://github.com/jordanopensource/charts/
sources:
- https://github.com/jordanopensource/charts/tree/main/charts/base
version: 1.0.3
version: 1.0.4
appVersion: 1.0.1
4 changes: 2 additions & 2 deletions charts/base/templates/service.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: Service
metadata:
name: {{ include "base.serviceAccountName" . }}
name: {{ include "base.names.fullname" . }}
namespace: {{ include "base.names.namespace" . | quote }}
labels: {{- include "base.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- if or .Values.workload.service.annotations .Values.commonAnnotations }}
Expand All @@ -12,7 +12,7 @@ spec:
type: {{.Values.workload.service.type}}
ports:
- port: {{ .Values.workload.service.port }}
targetPort: http
targetPort: {{ .Values.workload.containerPort }}
protocol: TCP
name: http
{{- $podLabels := include "base.tplvalues.merge" ( dict "values" ( list .Values.workload.podLabels .Values.commonLabels ) "context" . ) }}
Expand Down

0 comments on commit e122030

Please sign in to comment.