-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add deployment manifests as release artifacts (#1092)
Problem: As a user, I want an easy way to install the NGF manifests. Currently, I have to clone the repository. Solution: By including the manifests as part of a release, the repo no longer has to be cloned to install NGF. Note: the service definitions are not uploaded and therefore still require a clone if they are to be installed.
- Loading branch information
Showing
3 changed files
with
35 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
mkdir -p build/out | ||
|
||
CRD_FILE=build/out/crds.yaml | ||
echo "# NGINX Gateway API CustomResourceDefinitions" > ${CRD_FILE} | ||
|
||
for file in `ls deploy/manifests/crds/*.yaml`; do | ||
echo "#" >> ${CRD_FILE} | ||
echo "# $file" >> ${CRD_FILE} | ||
echo "#" >> ${CRD_FILE} | ||
cat $file >> ${CRD_FILE} | ||
done |