Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/helm-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
- name: Set up Helm
uses: azure/setup-helm@v3
with:
version: v3.13.3
version: v3.15.0

- name: Install helm-unittest plugin
run: helm plugin install https://github.com/helm-unittest/helm-unittest
run: helm plugin install https://github.com/helm-unittest/helm-unittest --version v1.0.0

- name: Lint Helm chart
run: helm lint charts/iag5
Expand Down
2 changes: 1 addition & 1 deletion charts/iag5/templates/deployment-runner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ spec:
image: "{{ $.Values.image.repository }}:{{ $.Values.image.tag | default $.Chart.AppVersion }}"
imagePullPolicy: {{ $.Values.image.pullPolicy }}
ports:
- name: {{ include "iag5.fullname" $ }}-runner
- name: runner-port
containerPort: {{ $.Values.port }}
protocol: TCP
{{- if $.Values.livenessProbe.enabled }}
Expand Down
2 changes: 1 addition & 1 deletion charts/iag5/templates/deployment-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: {{ include "iag5.fullname" . }}-server
- name: server-port
containerPort: {{ .Values.port }}
protocol: TCP
{{- if .Values.livenessProbe.enabled }}
Expand Down
2 changes: 1 addition & 1 deletion charts/iag5/tests/deployment-runner_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ tests:
asserts:
- equal:
path: spec.template.spec.containers[0].ports[0].name
value: RELEASE-NAME-iag5-runner
value: runner-port
- equal:
path: spec.template.spec.containers[0].ports[0].containerPort
value: 8080
Expand Down
2 changes: 1 addition & 1 deletion charts/iag5/tests/deployment-server_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ tests:
asserts:
- equal:
path: spec.template.spec.containers[0].ports[0].name
value: RELEASE-NAME-iag5-server
value: server-port
- equal:
path: spec.template.spec.containers[0].ports[0].containerPort
value: 8080
Expand Down