mirror of
https://github.com/helmfile/helmfile.git
synced 2026-09-30 13:33:23 +02:00
Allow users other than root to use helm plugins (#1766)
Resolves #1134 Co-authored-by: Antony Perigault <antony.perigault@cpexterne.org>
This commit is contained in:
co-authored by
Antony Perigault
parent
4d01eddd3d
commit
9e58082342
@@ -51,6 +51,9 @@ RUN helm plugin install https://github.com/databus23/helm-diff --version v3.3.1
|
||||
helm plugin install https://github.com/hypnoglow/helm-s3.git --version v0.10.0 && \
|
||||
helm plugin install https://github.com/aslafy-z/helm-git.git --version v0.10.0
|
||||
|
||||
# Allow users other than root to use helm plugins located in root home
|
||||
RUN chmod 751 /root
|
||||
|
||||
COPY --from=builder /workspace/helmfile/dist/helmfile_linux_amd64 /usr/local/bin/helmfile
|
||||
|
||||
CMD ["/usr/local/bin/helmfile"]
|
||||
|
||||
@@ -50,6 +50,9 @@ RUN helm plugin install https://github.com/databus23/helm-diff --version v3.3.1
|
||||
helm plugin install https://github.com/hypnoglow/helm-s3.git --version v0.10.0 && \
|
||||
helm plugin install https://github.com/aslafy-z/helm-git.git --version v0.10.0
|
||||
|
||||
# Allow users other than root to use helm plugins located in root home
|
||||
RUN chmod 751 /root
|
||||
|
||||
COPY --from=builder /workspace/helmfile/dist/helmfile_linux_amd64 /usr/local/bin/helmfile
|
||||
|
||||
CMD ["/usr/local/bin/helmfile"]
|
||||
|
||||
Reference in New Issue
Block a user