File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,18 @@ WORK_DIR=${SCRIPT_DIR}/workdir
6
6
echo " [INFO] Using the following folder to store all build files ${SCRIPT_DIR} /workdir"
7
7
mkdir -p $WORK_DIR
8
8
9
- GEN_REVISION=5c6d90b260fd94af32157f304f971778c899b5e2
9
+ GEN_REVISION=a3aef4de7a1d5dab72021aa282fffd8bc8a022ca
10
10
11
11
k8s_client_gen () {
12
12
[ ! -d $WORK_DIR /gen ] && git clone https://github.com/kubernetes-client/gen.git $WORK_DIR /gen || echo " kubernetes-client/gen is already cloned into $WORK_DIR /gen"
13
13
14
14
echo " [INFO] Checking out gen to ${GEN_REVISION} "
15
15
pushd " $WORK_DIR /gen"
16
- git checkout ${GEN_REVISION}
16
+ git reset --hard ${GEN_REVISION}
17
17
popd
18
+ # Workaround for issue https://github.com/nodesource/distributions/issues/1266 -- new certs are needed.
19
+ # This should be removed when updating GEN_REVISION
20
+ sed -i ' /ENTRYPOINT/i RUN apt-get -y install ca-certificates' $WORK_DIR /gen/openapi/openapi-generator/Dockerfile
18
21
19
22
echo " [INFO] preparing config files for gen"
20
23
# Remove the contents of custom objects spec so that we aren't bundling any extra objects
You can’t perform that action at this time.
0 commit comments