How to use the @pulumi/kubernetes/helm.v2 function in @pulumi/kubernetes

To help you get started, we’ve selected a few @pulumi/kubernetes examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github pulumi / examples / azure-ts-aks-helm / index.ts View on Github external
// Copyright 2016-2019, Pulumi Corporation.  All rights reserved.

import * as helm from "@pulumi/kubernetes/helm";
import { k8sCluster, k8sProvider } from "./cluster";

const apache = new helm.v2.Chart(
    "apache",
    {
        repo: "bitnami",
        chart: "apache",
        version: "1.0.0",
    },
    { providers: { kubernetes: k8sProvider } },
);

export let cluster = k8sCluster.name;
export let kubeConfig = k8sCluster.kubeConfigRaw;
export let serviceIP = apache
    .getResourceProperty("v1/Service", "apache-apache", "status")
    .apply(status => status.loadBalancer.ingress[0].ip);

@pulumi/kubernetes

[![Build Status](https://travis-ci.com/pulumi/pulumi-kubernetes.svg?token=eHg7Zp5zdDDJfTjY8ejq&branch=master)](https://travis-ci.com/pulumi/pulumi-kubernetes) [![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM

Apache-2.0
Latest version published 5 days ago

Package Health Score

92 / 100
Full package analysis