Skip to content

Commit 0e6dca9

Browse files
committed
add verification for downlaoder's configmap on CI
Signed-off-by: Shunpoco <tkngsnsk313320@gmail.com>
1 parent be5a23a commit 0e6dca9

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/helm-chart-smoketest.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ jobs:
151151
--set rcm.nodeInstallerImage.tag=chart-test \
152152
--set rcm.shimDownloaderImage.repository=shim-downloader \
153153
--set rcm.shimDownloaderImage.tag=chart-test \
154+
--set rcm.shimDownloaderConfig.enabled=true \
155+
--set rcm.shimDownloaderConfig.configMapName=configmap-test \
154156
deploy/helm
155157
156158
- name: apply Spin shim
@@ -174,6 +176,10 @@ jobs:
174176
run: |
175177
timeout 60s bash -c 'until [[ "$(kubectl -n rcm get $(kubectl get pods -n rcm --no-headers -o name | grep install | head -n1) -o jsonpath="{.status.phase}" 2>/dev/null)" == "Succeeded" ]]; do sleep 2; done'
176178
179+
- name: verify configMap for shim-downloader is added
180+
run: |
181+
timeout 60s bash -c 'until [[ $(kubectl -n rcm get $(kubectl get pods -n rcm --no-headers -o name | grep install | head -n1) -o jsonpath="{.spec.initContainers[0].envFrom[0].configMapRef.name}" 2>/dev/null) == "configmap-test" ]]; do sleep 2; done'
182+
177183
- name: run Spin App
178184
run: |
179185
kubectl apply -f testdata/apps/spin-app.yaml

0 commit comments

Comments
 (0)