Skip to content

Commit

Permalink
chore: fix naming
Browse files Browse the repository at this point in the history
  • Loading branch information
starlightromero committed Sep 7, 2023
1 parent fc8df67 commit 1e878ec
Show file tree
Hide file tree
Showing 56 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
description: A Helm chart for Gatekeeper Library Constraints
name: gatekeeper-library-contraints
name: gatekeeper-library-constraints
icon: https://open-policy-agent.github.io/gatekeeper/website/img/logo.svg
keywords:
- open policy agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ for line in "${FILES[@]}"; do

echo "# ${URL}" > ../crds/"${DESTINATION}"

if ! curl --silent --retry-all-errors --fail --location "${URL}" >> ../../gatekeeper-library-crds/templates/"${DESTINATION}"; then
if ! curl --silent --retry-all-errors --fail --location "${URL}" >> ../../gatekeeper-library-constraint-templates/templates/"${DESTINATION}"; then
echo -e "Failed to download ${URL}!"
exit 1
fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ for file in ../crds/*; do

FILENAME=$(echo "${file##*/}" | xargs)

echo -e "Updating Gatekeeper Library template from CRDs:\nvalidation-${FILENAME}\n"
echo -e "Updating Gatekeeper Library Constraints from Constraint Templates:\nvalidation-${FILENAME}\n"

touch "../templates/validation-${FILENAME}"
done
Expand Down

0 comments on commit 1e878ec

Please sign in to comment.