This repository has been archived by the owner on Aug 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 90
Add support for Helmfile #141
Open
mikelorant
wants to merge
5
commits into
linkyard:master
Choose a base branch
from
fairfaxmedia:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
7bbcf74
Add helmfile for this resource
alexnguyen91 79b35b3
Merge branch 'master' of https://github.com/linkyard/concourse-helm-r…
e404a8c
Add support for helmfile.d with auto detection.
bde1772
Add git repository support
c9be86e
Alternative helm-git with fix for helm bin location
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,17 +1,21 @@ | ||
FROM linkyard/alpine-helm:2.16.6 | ||
FROM alpine/helm:2.14.3 | ||
LABEL maintainer "mario.siegenthaler@linkyard.ch" | ||
|
||
RUN apk add --update --upgrade --no-cache jq bash curl git gettext libintl | ||
|
||
ENV KUBERNETES_VERSION 1.16.9 | ||
ENV HELMFILE_LATEST_VERSION=0.114.0 | ||
RUN curl -L -o /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/v${KUBERNETES_VERSION}/bin/linux/amd64/kubectl; \ | ||
chmod +x /usr/local/bin/kubectl | ||
|
||
ADD assets /opt/resource | ||
RUN chmod +x /opt/resource/* | ||
chmod +x /usr/local/bin/kubectl && \ | ||
curl -L -o /usr/local/bin/helmfile https://github.com/roboll/helmfile/releases/download/v${HELMFILE_LATEST_VERSION}/helmfile_linux_amd64 && \ | ||
chmod +x /usr/local/bin/helmfile | ||
|
||
RUN mkdir -p "$(helm home)/plugins" | ||
RUN helm plugin install https://github.com/databus23/helm-diff && \ | ||
helm plugin install https://github.com/rimusz/helm-tiller | ||
helm plugin install https://github.com/rimusz/helm-tiller && \ | ||
helm plugin install https://github.com/fairfaxmedia/helm-git | ||
|
||
ADD assets /opt/resource | ||
RUN chmod +x /opt/resource/* | ||
|
||
ENTRYPOINT [ "/bin/bash" ] |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a specific reason why you want to downgrade?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, but the image location should go back to alpine/helm. Version is painful before can't use new Helm clients with older server versions. Can't really win for that unfortunately and would make sense to go to the latest Helm 2 release.