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

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

Merged
merged 1 commit into from
Nov 1, 2021

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.

Dockerfile Outdated Show resolved Hide resolved
Signed-off-by: Michal Drla <mdrla@redhat.com>
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

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.

None yet

3 participants