Skip to content

Commit

Permalink
Update kustomize version (#1377)
Browse files Browse the repository at this point in the history
Summary: We are adding support for a px-k8ssandra demo. As a part of
generating the YAMLs for that demo, we need to use `kustomize` in the
k8ssandra-operator repo. However, our current version of kustomize fails
because it doesn't have `Component` support.
This PR updates kustomize to the latest version, since we have been
behind.

We should also consider updating some of our kustomize files to use the
new component feature:
https://github.com/kubernetes-sigs/kustomize/blob/master/examples/components.md

Relevant Issues: #680

Type of change: /kind cleanup

Test Plan: kustomize build our commonly used kustomize directories

Signed-off-by: Michelle Nguyen <[email protected]>
  • Loading branch information
aimichelle authored May 30, 2023
1 parent ff7906e commit 401c92c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions docker.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DOCKER_IMAGE_TAG=202305102201
LINTER_IMAGE_DIGEST=238e7f543aaaca2c7d2e82f3acfb1f1a32be14eaceabdf82f97e59fad7cdd222
DEV_IMAGE_DIGEST=ead63d8e267a04ce643174bbcb851416d4a35e0cbb71a13fa20bf7fa36d193dd
DEV_IMAGE_WITH_EXTRAS_DIGEST=45b752dc1795eb4f137adbfea5c5278f10db8321e711c62fa2ecffc4537444f4
DOCKER_IMAGE_TAG=202305261407
LINTER_IMAGE_DIGEST=f5646f05c31261c823a872739300cae1cbf0a945f1f33b337312e08db8d83c00
DEV_IMAGE_DIGEST=49c1b288c7cfbe9d67e4952d7b773468c97351821ac91a912b0e6bf48cffb747
DEV_IMAGE_WITH_EXTRAS_DIGEST=6e3931db3af560fb3f51a36136047f43e5109885610c4afa32dad83e755ed9dd
4 changes: 2 additions & 2 deletions tools/chef/cookbooks/px_dev_extras/attributes/linux.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@
'b6769d8ac6a0ed0f13b307d289dc092ad86180b08f5b5044af152808c04950ae'

default['kustomize']['download_path'] =
'https://github.com/kubernetes-sigs/kustomize/releases/download/v3.2.0/kustomize_3.2.0_linux_amd64'
'https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv5.0.3/kustomize_v5.0.3_linux_amd64.tar.gz'
default['kustomize']['sha256'] =
'7db89e32575d81393d5d84f0dc6cbe444457e61ce71af06c6e6b7b6718299c22'
'c627b1575c3fecbc7ad1c181c23a7adcacf19732dab627eb57e89a7bc4c1e929'

default['lego']['download_path'] =
'https://github.com/go-acme/lego/releases/download/v4.5.3/lego_v4.5.3_linux_amd64.tar.gz'
Expand Down
4 changes: 2 additions & 2 deletions tools/chef/cookbooks/px_dev_extras/attributes/mac_os_x.rb
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
'be9dc0782a7b257d9cfd66b76f91081e80f57742f61e12cd29068b213ee48abc'

default['kustomize']['download_path'] =
'https://github.com/kubernetes-sigs/kustomize/releases/download/v3.2.0/kustomize_3.2.0_darwin_amd64'
'https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv5.0.3/kustomize_v5.0.3_darwin_amd64.tar.gz'
default['kustomize']['sha256'] =
'c7991a79470a52a95f1fac33f588b76f64e597ac64b54106e452f3a8f642c62e'
'a3300ccc81ed8e7df415f3537b49e70d89f985a28c9ade8a885ebf6f1689b4e0'

default['lego']['download_path'] =
'https://github.com/go-acme/lego/releases/download/v4.5.3/lego_v4.5.3_darwin_amd64.tar.gz'
Expand Down
2 changes: 1 addition & 1 deletion tools/chef/cookbooks/px_dev_extras/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

common_remote_bin 'faq'
common_remote_bin 'kubectl'
common_remote_bin 'kustomize'
common_remote_tar_bin 'kustomize'
common_remote_bin 'minikube'
common_remote_bin 'opm'
common_remote_bin 'skaffold'
Expand Down

0 comments on commit 401c92c

Please sign in to comment.