diff --git a/hack/build-install-yaml.sh b/hack/build-install-yaml.sh index ed45fc6dec..fbe132f5be 100755 --- a/hack/build-install-yaml.sh +++ b/hack/build-install-yaml.sh @@ -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 @@ -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 @@ -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