Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generate resource files for k8s 1.25 #808

Merged
merged 3 commits into from
Apr 14, 2023
Merged

generate resource files for k8s 1.25 #808

merged 3 commits into from
Apr 14, 2023

Conversation

cjerad
Copy link
Contributor

@cjerad cjerad commented Apr 10, 2023

Issue #, if available:

#799 v1.25+ Compatible Release Resource Artifacts

Description of changes:

Updated script to generate two sets of resources for k8s 1.24 and 1.25

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@cjerad cjerad marked this pull request as ready for review April 11, 2023 18:39
@cjerad cjerad requested a review from a team as a code owner April 11, 2023 18:39
scripts/generate-k8s-yaml Outdated Show resolved Hide resolved
Makefile Outdated Show resolved Hide resolved
Copy link
Contributor

@pdk27 pdk27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

mkdir -p $QP_INDV_RESOURCES_DIR

HELM=$BUILD_DIR/helm
if [[ ! -e $HELM ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the purpose of this check?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The script downloads its own copy of the helm executable if doesn't already exist in the build directory. Since we know the script will be run twice this check prevents an unnecessary re-download.

@bryantbiggs
Copy link
Member

will additional changes be required to support 1.26?

@cjerad
Copy link
Contributor Author

cjerad commented Apr 14, 2023

will additional changes be required to support 1.26?

Hi @bryantbiggs, we expect the 1.25 resource files will be compatible with 1.26.

@cjerad cjerad merged commit 6e56019 into aws:main Apr 14, 2023
@cjerad cjerad deleted the issue-799 branch April 14, 2023 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants