Skip to content

Commit 012ac6c

Browse files
committed
Update logic for helm parameters
1 parent 6bac829 commit 012ac6c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/nfr.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,9 @@ jobs:
134134
echo "GKE_NUM_NODES=12" >> vars.env
135135
echo "GKE_MACHINE_TYPE=n2d-standard-16" >> vars.env
136136
echo "PLUS_USAGE_ENDPOINT=${{ secrets.JWT_PLUS_REPORTING_ENDPOINT }}" >> vars.env
137-
echo "HELM_PARAMETERS=--set nginx.config.ipFamily=${{ inputs.ipv6_enabled ? 'ipv6' : 'ipv4' }}" >> vars.env
138-
137+
if [ "${{ inputs.ipv6_enabled }}" = "true" ]; then
138+
echo "HELM_PARAMETERS=--set nginx.config.ipFamily=ipv6" >> vars.env
139+
fi
139140
- name: Setup license file for plus
140141
if: matrix.type == 'plus'
141142
env:

0 commit comments

Comments
 (0)