Skip to content

Build helm binaries natively on darwin #1649

Closed

Description

@databus23

This is a follow-up to a quick chat in Slack.

Currently helm builds its release binaries using CircleCI on linux. Unfortunately cross-compiled darwin binaries have subtle gotchas that hit mostly corporate environments.

Quoting my comment on anther project

At least on darwin this has two side effects:

In our corporate environment statically linked darwin binaries are a constant cause of trouble. We run an internal CA for all intranet sites which does not work because of the first effect.
The second is a problem for some major vpn clients (e.g. Big IP F5, Cisco) because the resolver reads the /etc/reslv.conf directly. Those VPN clients don't modify the resolv.conf when connecting to the corporate network but rather hook into the native darwin resolver to inject the corporate nameservers. Statically linked go binaries therefore can't resolve any corporate hostnames because they end up using the DNS servers from the local network where the VPN client is located.

One idea that was discussed on Slack was to maybe switch from a brew cask to an official brew formula as those get build native on darwin.

Activity

  1. databus23 commented on Dec 7, 2016

    @databus23
    ContributorAuthor
  2. technosophos commented on Dec 19, 2016

    @technosophos
    Member

    Wow! That was super early! I wonder what it would take to get that formula back in.

  3. technosophos commented on Jan 27, 2017

    @technosophos
    Member

    Anyone have an update to this? I agree that it would be nice to have it build in regular homebrew. But I don't have the time to get this done.

  4. databus23 commented on Jan 27, 2017

    @databus23
    ContributorAuthor
  5. technosophos commented on Feb 15, 2017

    @technosophos
    Member

    Marking this closed, since Homebrew fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions