Skip to content

fix: Change installing helm from installer to extracting binaries#52

Merged
sesheta merged 1 commit intooperate-first:masterfrom
mimotej:fix-helm-installer
Nov 1, 2021
Merged

fix: Change installing helm from installer to extracting binaries#52
sesheta merged 1 commit intooperate-first:masterfrom
mimotej:fix-helm-installer

Conversation

@mimotej
Copy link
Member

@mimotej mimotej commented Oct 27, 2021

Related Issues and Dependencies

This introduces a breaking change

  • Yes
  • No

This Pull Request implements

The get_helm.sh script seems to be currently broken, so let's move from installing the helm through installer to getting binaries directly from github release page.

Description

/cc @tumido

@sesheta sesheta added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Oct 27, 2021
Copy link
Member

@tumido tumido left a comment

Choose a reason for hiding this comment

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

FTR get_helm.sh script is not broken per-se, but it got changed - version pinning requires DESIRED_VERSION variable. That means following patch would fix this:

    # Install Helm
    curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/$HELM_VERSION/scripts/get-helm-3 && \
    export DESIRED_VERSION=$HELM_VERSION && \
    chmod 700 get_helm.sh && ./get_helm.sh && \

But instead of fixing it this way I believe it's reasonable to just omit the installer script and download the binary directly ourselves.

Proposed patch by @mimotej can be simplified though.

Signed-off-by: Michal Drla <mdrla@redhat.com>
@mimotej mimotej force-pushed the fix-helm-installer branch from e0af2be to 6cd6e1a Compare November 1, 2021 12:01
@mimotej mimotej requested a review from tumido November 1, 2021 12:03
Copy link
Member

@tumido tumido left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@sesheta sesheta added the lgtm Indicates that a PR is ready to be merged. label Nov 1, 2021
@sesheta
Copy link
Member

sesheta commented Nov 1, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tumido

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sesheta sesheta added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 1, 2021
@sesheta sesheta merged commit c44235c into operate-first:master Nov 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants