Skip to content

Commit

Permalink
fix: container port
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurcgc committed Jul 12, 2021
1 parent bd5b7c4 commit 80cb246
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/gcp-state-metrics/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.5
version: 0.1.6

# 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
4 changes: 3 additions & 1 deletion charts/gcp-state-metrics/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ spec:
value: {{ .Values.gcp.project }}
- name: "GCP_REGION"
value: {{ .Values.gcp.region }}
- name: "PORT"
value: "8080"
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
containerPort: 80
containerPort: 8080
protocol: TCP
readinessProbe:
httpGet:
Expand Down

0 comments on commit 80cb246

Please sign in to comment.