File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments