Skip to content

Commit

Permalink
Merge pull request #2774 from troy0820/troy0820/helm-3-mixin
Browse files Browse the repository at this point in the history
Update helm3 mixin link and changed client version in docs
  • Loading branch information
schristoff authored Jun 8, 2023
2 parents 22e0a77 + 4fdedb6 commit 390a88d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,4 @@ and we will add you. **All** contributors belong here. 💯
* [Sarah Christoff](https://github.com/schristoff)
* [Aleksey Barabanov](https://github.com/alekseybb197)
* [Tomi Paananen](https://github.com/tompaana)
* [Troy Connor](https://github.com/troy0820)
10 changes: 5 additions & 5 deletions docs/content/mixin-dev-guide/architecture.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Mixin Architecture
title: Mixin Architecture
description: How do mixins work? Hotwiring a porter mixin
---

Expand Down Expand Up @@ -44,14 +44,14 @@ The previous example introduced how mixins are used when a bundle is executed. I
$ ./bin/mixins/helm/helm build
RUN apt-get update && \
apt-get install -y curl && \
curl -o helm.tgz https://storage.googleapis.com/kubernetes-helm/helm-v2.11.0-linux-amd64.tar.gz && \
curl -o helm.tgz https://storage.googleapis.com/kubernetes-helm/helm-v3.8.2-linux-amd64.tar.gz && \
tar -xzf helm.tgz && \
mv linux-amd64/helm /usr/local/bin && \
rm helm.tgz
RUN helm init --client-only
```

In this case, the `helm` mixin will first run apt-get update and then install `curl` in the Docker image. Next, it will use curl to fetch Helm 2.11.0, extract it into the Docker filesystem and finally run `helm init --client-only` to do necessary setup inside the image.
In this case, the `helm` mixin will first run apt-get update and then install `curl` in the Docker image. Next, it will use curl to fetch Helm 3.8.2, extract it into the Docker filesystem and finally run `helm init --client-only` to do necessary setup inside the image.

### Run Time

Expand Down Expand Up @@ -115,5 +115,5 @@ Mixins can expose JSON schema to describe the YAML format that they expect to ac

If you'd like to build a mixin and would like to refer to some existing implementations, please see:

* [helm-mixin](https://github.com/getporter/helm-mixin) - The Porter Helm Mixin
* [az-mixin](https://github.com/getporter/az-mixin) - The Porter Azure (az cli) Mixin
* [helm-mixin](https://github.com/getporter/helm3-mixin) - The Porter Helm Mixin
* [az-mixin](https://github.com/getporter/az-mixin) - The Porter Azure (az cli) Mixin

0 comments on commit 390a88d

Please sign in to comment.