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: bundle konvoy-async-plugin in Docker image #14

Merged
merged 3 commits into from
Jun 1, 2022

Conversation

cbuto
Copy link

@cbuto cbuto commented May 26, 2022

https://jira.d2iq.com/browse/D2IQ-88413

This commit introduces a new make target to download the konvoy-async-plugin binaries and place them in the correct directory.

I had to fix a few things:

  1. Migrates to using Go modules, without this I was unable to build the dex-k8s-authenticator binary due to cannot find package hcl/hcl/printer hashicorp/hcl#449.
  2. Moved building the dex-k8s-authenticator binary out of the Docker image because we rely on private Go modules, so it just easier if we build the binary outside of the Docker image and copy it in.

I was able to test this locally using the instructions in docs/develop.md. The actual HTML templates we use in Kommander are found at https://github.com/mesosphere/charts/tree/master/staging/dex-k8s-authenticator/html-templates.

@cbuto cbuto added the ready ready for review label May 26, 2022
@cbuto cbuto self-assigned this May 26, 2022
@cbuto cbuto removed the ready ready for review label May 27, 2022
@cbuto cbuto force-pushed the cbuto/async-binaries branch 2 times, most recently from 4ad5ef6 to b7b4727 Compare May 27, 2022 14:15
@cbuto cbuto marked this pull request as ready for review May 27, 2022 14:16
@cbuto cbuto added the ready ready for review label May 27, 2022
Makefile Outdated Show resolved Hide resolved
Makefile Show resolved Hide resolved
Makefile Show resolved Hide resolved
Copy link

@mhrabovcin mhrabovcin left a comment

Choose a reason for hiding this comment

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

Nice! I left a few comments.

@branden branden merged commit 02f53c5 into mesosphere Jun 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready ready for review
Projects
None yet
4 participants