Update Helm Chart examples to use fetchOpts to pass the repository
MODIFY
azure-ts-aks-helm/README.md
azure-ts-aks-helm/README.md
@@ -13,21 +13,7 @@ We will be deploying to Azure, so you will need an Azure account. If you don't h
[sign up for free here](https://azure.microsoft.com/en-us/free/).
[Follow the instructions here](https://www.pulumi.com/docs/intro/cloud-providers/azure/setup/) to connect Pulumi to your Azure account.
-This example deploys a Helm Chart from [Bitnami's Helm chart repository](https://github.com/bitnami/charts), so you
-will need to [install the Helm CLI](https://docs.helm.sh/using_helm/#installing-helm) and configure it:
-
-If you are using Helm v2:
-```bash
-$ helm init --client-only
-$ helm repo add bitnami https://charts.bitnami.com/bitnami
-$ helm repo update
-```
-
-If you are using Helm v3:
-```bash
-$ helm repo add bitnami https://charts.bitnami.com/bitnami
-$ helm repo update
-```
+This example deploys a Helm Chart from [Bitnami's Helm chart repository](https://github.com/bitnami/charts)
## Running the Example

MODIFY
azure-ts-aks-helm/index.ts
azure-ts-aks-helm/index.ts
@@ -9,6 +9,9 @@ const apache = new helm.v2.Chart(
repo: "bitnami",
chart: "apache",
version: "1.0.0",
+ fetchOpts: {
+ repo: "https://charts.bitnami.com/bitnami",
+ },
},
{ providers: { kubernetes: k8sProvider } },
);

MODIFY
azure-ts-aks-keda/README.md
azure-ts-aks-keda/README.md
@@ -12,8 +12,7 @@ We will be deploying to Azure, so you will need an Azure account. If you don't h
[sign up for free here](https://azure.microsoft.com/en-us/free/).
[Follow the instructions here](https://www.pulumi.com/docs/intro/cloud-providers/azure/setup/) to connect Pulumi to your Azure account.
-This example deploys a Helm Chart from Kedacore Helm chart repository, so you
-will need to [install the Helm CLI](https://docs.helm.sh/using_helm/#installing-helm) and configure it:
+This example deploys a Helm Chart from Kedacore Helm chart repository.
If you are using Helm v2:
```bash

MODIFY
azure-ts-aks-keda/keda.ts
azure-ts-aks-keda/keda.ts
@@ -54,6 +54,9 @@ export class KedaService extends pulumi.ComponentResource {
repo: "kedacore",
chart: "keda",
version: "1.2.0",
+ fetchOpts:{
+ repo: "https://kedacore.github.io/charts",
+ },
values: {
logLevel: "debug",
},

MODIFY
azure-ts-aks-mean/README.md
azure-ts-aks-mean/README.md
@@ -15,22 +15,9 @@ We will be deploying to Azure, so you will need an Azure account. If you don't h
[sign up for free here](https://azure.microsoft.com/en-us/free/). [Follow the instructions
here](https://www.pulumi.com/docs/intro/cloud-providers/azure/setup/) to connect Pulumi to your Azure account.
-This example deploys a Helm Chart from [Bitnami's Helm chart
-repository](https://github.com/bitnami/charts), so you will need to [install the Helm
-CLI](https://docs.helm.sh/using_helm/#installing-helm) and configure it:
+This example deploys a Helm Chart from [Bitnami's Helm chart repository](https://github.com/bitnami/charts)
-For Helm v2 users:
-```bash
-$ helm init --client-only
-$ helm repo add bitnami https://charts.bitnami.com/bitnami
-```
-
-For Helm v3 users:
-```bash
-$ helm repo add bitnami https://charts.bitnami.com/bitnami
-```
-
-Now, install dependencies:
+Install dependencies:
```sh
npm install

MODIFY
azure-ts-aks-mean/index.ts
azure-ts-aks-mean/index.ts
@@ -42,6 +42,9 @@ const node = new k8s.helm.v2.Chart(
repo: "bitnami",
chart: "node",
version: "4.0.1",
+ fetchOpts:{
+ repo: "https://charts.bitnami.com/bitnami",
+ },
values: {
serviceType: "LoadBalancer",
mongodb: { install: false },

Update Helm Chart examples to use fetchOpts to pass the repository (#697)