Skip to content

Commit 5565a6e

Browse files
committed
fix: update Helm values file naming convention to use underscores
1 parent c031678 commit 5565a6e

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/infrastructure-ci-cd.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ jobs:
163163
working-directory: "${{ matrix.chart.dir }}"
164164
run: |
165165
helm dependency update
166-
if [[ -f values-${{ matrix.environment }}.yaml ]]; then
167-
helm lint . --values values-${{ matrix.environment }}.yaml
168-
helm template . --values values-${{ matrix.environment }}.yaml --dry-run > /dev/null
166+
if [[ -f values_${{ matrix.environment }}.yaml ]]; then
167+
helm lint . --values values_${{ matrix.environment }}.yaml
168+
helm template . --values values_${{ matrix.environment }}.yaml --dry-run > /dev/null
169169
else
170170
helm lint .
171171
helm template . --dry-run > /dev/null
@@ -174,8 +174,8 @@ jobs:
174174
- name: Validate with kubeval
175175
working-directory: "${{ matrix.chart.dir }}"
176176
run: |
177-
if [[ -f values-${{ matrix.environment }}.yaml ]]; then
178-
helm template . --values values-${{ matrix.environment }}.yaml | kubeval --strict --ignore-missing-schemas
177+
if [[ -f values_${{ matrix.environment }}.yaml ]]; then
178+
helm template . --values values_${{ matrix.environment }}.yaml | kubeval --strict --ignore-missing-schemas
179179
else
180180
helm template . | kubeval --strict --ignore-missing-schemas
181181
fi
@@ -218,7 +218,7 @@ jobs:
218218
${{ matrix.chart.name }} \
219219
. \
220220
--namespace "$NAMESPACE" \
221-
--values values-${{ matrix.environment }}.yaml \
221+
--values values_${{ matrix.environment }}.yaml \
222222
--atomic \
223223
--timeout 10m \
224224
- name: Verify deployment

0 commit comments

Comments
 (0)