Skip to content

Commit

Permalink
Update helm charts
Browse files Browse the repository at this point in the history
  • Loading branch information
cant-code committed Mar 25, 2024
1 parent 3796bc7 commit 07b901c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions charts/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: 8080
hostPort: 8080
protocol: TCP
name: http
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
Expand Down
8 changes: 4 additions & 4 deletions charts/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ metadata:
spec:
type: {{ .Values.service.type }}
ports:
{{/* - port: {{ .Values.service.port }}*/}}
{{/* targetPort: http*/}}
{{/* protocol: TCP*/}}
{{/* name: http*/}}
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "charts.selectorLabels" . | nindent 4 }}

0 comments on commit 07b901c

Please sign in to comment.