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

Update helm3 mixin link and changed client version in docs #2774

Merged
merged 2 commits into from
Jun 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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