Skip to content

Commit

Permalink
Open ports in the container.
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardofroes committed Jan 12, 2022
1 parent 81ecba2 commit a685391
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 19 deletions.
2 changes: 1 addition & 1 deletion charts/codelet-application-helm/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.0.8
version: 0.0.9

# 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
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ spec:
image: {{ .Values.container.image.name }}
imagePullPolicy: {{ .Values.container.image.pullPolicy }}
ports:
- name: deployment-port
containerPort: {{ .Values.container.containerPort }}
{{- range $key, $val := .Values.container.containerPorts }}
- name: {{ $key }}
containerPort: {{ $val }}
{{- end }}
env:
{{- range $key, $val := .Values.container.env }}
- name: {{ $key }}
Expand Down

This file was deleted.

0 comments on commit a685391

Please sign in to comment.