Fix for missing version number in setuptools image
@@ -26,7 +26,7 @@ ARG IMG
ARG PULL_POLICY
ARG VERSION
RUN cd /workspace/manager && kustomize edit set image controller=${IMG} && \
- sed -i "s|VERSION|${VERSION}|g" /workspace/install/label_patch.yaml && \
+ sed -i "s|VERSION|${VERSION:-unknown}|g" /workspace/install/label_patch.yaml && \
sed -i "s|PULL_POLICY|${PULL_POLICY}|g" /workspace/install/manager_patch.yaml /workspace/chart/redskyops/values.yaml && \
sed -i "s|IMG|${IMG%:*}|g" /workspace/chart/redskyops/values.yaml /workspace/chart/redskyops/questions.yml && \
sed -i "s|TAG|${IMG##*:}|g" /workspace/chart/redskyops/values.yaml /workspace/chart/redskyops/questions.yml && \
