-
Notifications
You must be signed in to change notification settings - Fork 893
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update instructions for Kustomize 5 (#2399)
* example: Update for kustomize 5 Add the sortOptions in the kustomization.yaml to ensure we are creating MutationWebhooks before Deployments and Pods. This way we'll ensure that Pods will get Istio sidecars in a race-free way. Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com> * readme: Update instructions to use Kustomize 5 Update instructions to inform users to use Kustomize 5. We'll also need to do an awk command, to remove a line that ends up in the final output. That is a regression on Kustomize's side. Once a newer version of Kustomize is available with the fix we'll then remove this awk command. Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com> * gh-action: Update to Kustomize 5 Update the helper script to use Kustomize 5 for the tests. Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com> * gh-action: Use the kustomize script in gh action Update the GH Action that runs the unit test to use the same script we use in the other GH Actions for fetching kustomize. Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com> * Add FAQ for earlier versions of Kustomize Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com> --------- Signed-off-by: Kimonas Sotirchos <kimwnasptd@arrikto.com>
- Loading branch information
1 parent
3939f25
commit 74eb8d9
Showing
4 changed files
with
44 additions
and
17 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
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/bin/bash | ||
set -e | ||
curl --silent --location --remote-name "https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize/v3.2.3/kustomize_kustomize.v3.2.3_linux_amd64" | ||
chmod a+x kustomize_kustomize.v3.2.3_linux_amd64 | ||
sudo mv kustomize_kustomize.v3.2.3_linux_amd64 /usr/local/bin/kustomize | ||
curl --silent --location --remote-name "https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv5.0.0/kustomize_v5.0.0_linux_amd64.tar.gz" | ||
tar -xzvf kustomize_v5.0.0_linux_amd64.tar.gz | ||
chmod a+x kustomize | ||
sudo mv kustomize /usr/local/bin/kustomize |