This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump to kubeyaml 0.5.1 to fix (F)HR updating
kubeyaml 0.5.1 has a fix for updating images that include ports in (Flux)HelmRelease manifests. So: bump that in the Dockerfile and shim (`/bin/kubeyaml`), and add a test that it does account for such images when updating. Side issue in update_test.go: calling `t.Parallel()` _before_ invoking the test case meant that the closed-over loop variable could be reassigned before the test case was run.
- Loading branch information
Showing
3 changed files
with
60 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#!/bin/sh | ||
docker run --rm -i quay.io/squaremo/kubeyaml:0.5.0 "$@" | ||
docker run --rm -i quay.io/squaremo/kubeyaml:0.5.1 "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ LABEL maintainer="Weaveworks <[email protected]>" \ | |
ENTRYPOINT [ "/sbin/tini", "--", "fluxd" ] | ||
|
||
# Get the kubeyaml binary (files) and put them on the path | ||
COPY --from=quay.io/squaremo/kubeyaml:0.5.0 /usr/lib/kubeyaml /usr/lib/kubeyaml/ | ||
COPY --from=quay.io/squaremo/kubeyaml:0.5.1 /usr/lib/kubeyaml /usr/lib/kubeyaml/ | ||
ENV PATH=/bin:/usr/bin:/usr/local/bin:/usr/lib/kubeyaml | ||
|
||
COPY ./kubeconfig /root/.kube/config | ||
|