Skip to content

Commit

Permalink
Merge pull request #2401 from arkodg/rm-admission-server-install
Browse files Browse the repository at this point in the history
rm webhook resources from installation yaml
  • Loading branch information
k8s-ci-robot authored Sep 15, 2023
2 parents f98e94a + 67dd2fb commit cd223ea
Showing 1 changed file with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions hack/build-install-yaml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,15 @@ cat << EOF >> release/standard-install.yaml
#
EOF

for file in `ls config/webhook/*.yaml config/crd/experimental/gateway*.yaml`
cat hack/boilerplate/boilerplate.sh.txt > release/webhook-install.yaml
sed -i "s/YEAR/$thisyear/g" release/webhook-install.yaml
cat << EOF >> release/webhook-install.yaml
#
# Gateway API deprecated webhook install
#
EOF

for file in `ls config/crd/experimental/gateway*.yaml`
do
echo "---" >> release/experimental-install.yaml
echo "#" >> release/experimental-install.yaml
Expand All @@ -48,7 +56,7 @@ do
cat $file >> release/experimental-install.yaml
done

for file in `ls config/webhook/*.yaml config/crd/standard/*.yaml`
for file in `ls config/crd/standard/*.yaml`
do
echo "---" >> release/standard-install.yaml
echo "#" >> release/standard-install.yaml
Expand All @@ -57,4 +65,13 @@ do
cat $file >> release/standard-install.yaml
done

for file in `ls config/webhook/*.yaml`
do
echo "---" >> release/webhook-install.yaml
echo "#" >> release/webhook-install.yaml
echo "# $file" >> release/webhook-install.yaml
echo "#" >> release/webhook-install.yaml
cat $file >> release/webhook-install.yaml
done

echo "Generated:" release/*-install.yaml

0 comments on commit cd223ea

Please sign in to comment.